Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 28b65672221bffb12a8133938868b350e07ae03e..815f43db7b2fb392ec521940c3b43821f190196b 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -734,8 +734,8 @@ template <class T, class M> class Persistent : public PersistentBase<T> { |
P* parameter, |
typename WeakReferenceCallbacks<T, P>::Revivable callback)); |
- V8_DEPRECATED("This will be removed", |
- V8_INLINE T* ClearAndLeak()); |
+ // This will be removed. |
+ V8_INLINE T* ClearAndLeak(); |
V8_DEPRECATED("This will be removed", |
V8_INLINE void Clear()) { this->val_ = 0; } |