Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index b32f58851117074332a392b6cc14a52155a62726..7d55936ae12d2f617cdbb00e3aeacfd9ae57615c 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -519,6 +519,10 @@ template <class T> class Persistent // NOLINT |
template <class S> V8_INLINE(Persistent(Isolate* isolate, Handle<S> that)) |
: val_(*New(isolate, that)) { } |
+ template <class S> V8_INLINE(Persistent(Isolate* isolate, |
+ Persistent<S>& that)) // NOLINT |
+ : val_(*New(isolate, that)) { } |
+ |
#else |
/** |
* Creates an empty persistent handle that doesn't point to any |