Revision: 4114 Author: [email protected] Date: Fri Mar 12 02:39:31 2010 Log: Fix presubmit error.
Single argument constructors should be marked explicit. [email protected] Review URL: http://codereview.chromium.org/876005 http://code.google.com/p/v8/source/detail?r=4114 Modified: /branches/bleeding_edge/src/data-flow.h ======================================= --- /branches/bleeding_edge/src/data-flow.h Fri Mar 12 02:35:45 2010 +++ /branches/bleeding_edge/src/data-flow.h Fri Mar 12 02:39:31 2010 @@ -143,7 +143,7 @@ public: // The worklist cannot grow bigger than size. We keep one item empty to // distinguish between empty and full. - WorkList(int size) + explicit WorkList(int size) : capacity_(size + 1), head_(0), tail_(0), queue_(capacity_) { for (int i = 0; i < capacity_; i++) queue_.Add(NULL); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
