Revision: 15278
Author:   [email protected]
Date:     Mon Jun 24 02:34:56 2013
Log: Make a Persistent ctor take const Persistent& instead of Persistent&.

BUG=
[email protected], [email protected]

Review URL: https://codereview.chromium.org/17580010

Patch from Marja Hölttä <[email protected]>.
http://code.google.com/p/v8/source/detail?r=15278

Modified:
 /branches/bleeding_edge/include/v8.h

=======================================
--- /branches/bleeding_edge/include/v8.h        Mon Jun 24 01:58:01 2013
+++ /branches/bleeding_edge/include/v8.h        Mon Jun 24 02:34:56 2013
@@ -509,7 +509,7 @@
       : val_(New(isolate, *that)) { }

   template <class S> V8_INLINE(Persistent(Isolate* isolate,
-                                          Persistent<S>& that)) // NOLINT
+ const Persistent<S>& that)) // NOLINT
       : val_(New(isolate, *that)) { }

 #else

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to