Revision: 7068
Author: [email protected]
Date: Sat Mar  5 06:50:51 2011
Log: [Isolates] HashMap: add missing "explicit" to the constructor with default args.

Review URL: http://codereview.chromium.org/6621028
http://code.google.com/p/v8/source/detail?r=7068

Modified:
 /branches/experimental/isolates/src/hashmap.h

=======================================
--- /branches/experimental/isolates/src/hashmap.h       Wed Mar  2 11:37:37 2011
+++ /branches/experimental/isolates/src/hashmap.h       Sat Mar  5 06:50:51 2011
@@ -55,9 +55,9 @@

   // initial_capacity is the size of the initial hash map;
   // it must be a power of 2 (and thus must not be 0).
-  HashMap(MatchFun match,
-          Allocator* allocator = &DefaultAllocator,
-          uint32_t initial_capacity = 8);
+  explicit HashMap(MatchFun match,
+                   Allocator* allocator = &DefaultAllocator,
+                   uint32_t initial_capacity = 8);

   ~HashMap();

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

Reply via email to