Reviewers: Sven Panne,
Message:
svenpanne, ptal
Idk why it wasn't const& to begin with, do you?
Description:
Make a Persistent ctor take const Persistent& instead of Persistent&.
BUG=
Please review this at https://codereview.chromium.org/17580010/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M include/v8.h
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index
ccb2a185a2eda1b7014175e63cf860b41159c353..2d21355d6008851421256b534211c7cb543ea1df
100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -509,7 +509,7 @@ template <class T> class Persistent // NOLINT
: 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.