Reviewers: Søren Gjesse,

Description:
No implicit conversion between a Foo** and a Handle<Foo>.

Please review this at http://codereview.chromium.org/1861001/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/handles.h


Index: src/handles.h
===================================================================
--- src/handles.h       (revision 4559)
+++ src/handles.h       (working copy)
@@ -42,7 +42,7 @@
 template<class T>
 class Handle {
  public:
-  INLINE(Handle(T** location)) { location_ = location; }
+  INLINE(explicit Handle(T** location)) { location_ = location; }
   INLINE(explicit Handle(T* obj));

   INLINE(Handle()) : location_(NULL) {}


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to