Revision: 8267
Author:   [email protected]
Date:     Fri Jun 10 05:41:43 2011
Log: added explicit attributes since constructors have only one argument now.
http://code.google.com/p/v8/source/detail?r=8267

Modified:
 /branches/bleeding_edge/src/d8-debug.h

=======================================
--- /branches/bleeding_edge/src/d8-debug.h      Fri Jun 10 05:41:35 2011
+++ /branches/bleeding_edge/src/d8-debug.h      Fri Jun 10 05:41:43 2011
@@ -53,7 +53,7 @@
 // Remote debugging class.
 class RemoteDebugger {
  public:
-  RemoteDebugger(int port)
+  explicit RemoteDebugger(int port)
       : port_(port),
         event_access_(i::OS::CreateMutex()),
         event_available_(i::OS::CreateSemaphore(0)),
@@ -97,7 +97,7 @@
 // Thread reading from debugged V8 instance.
 class ReceiverThread: public i::Thread {
  public:
-  ReceiverThread(RemoteDebugger* remote_debugger)
+  explicit ReceiverThread(RemoteDebugger* remote_debugger)
       : Thread("d8:ReceiverThrd"),
         remote_debugger_(remote_debugger) {}
   ~ReceiverThread() {}

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

Reply via email to