Commit 7a197754 authored by yangguo@chromium.org's avatar yangguo@chromium.org

added explicit attributes since constructors have only one argument now.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8267 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b2ffa688
...@@ -53,7 +53,7 @@ class ReceiverThread; ...@@ -53,7 +53,7 @@ class ReceiverThread;
// Remote debugging class. // Remote debugging class.
class RemoteDebugger { class RemoteDebugger {
public: public:
RemoteDebugger(int port) explicit RemoteDebugger(int port)
: port_(port), : port_(port),
event_access_(i::OS::CreateMutex()), event_access_(i::OS::CreateMutex()),
event_available_(i::OS::CreateSemaphore(0)), event_available_(i::OS::CreateSemaphore(0)),
...@@ -97,7 +97,7 @@ class RemoteDebugger { ...@@ -97,7 +97,7 @@ class RemoteDebugger {
// Thread reading from debugged V8 instance. // Thread reading from debugged V8 instance.
class ReceiverThread: public i::Thread { class ReceiverThread: public i::Thread {
public: public:
ReceiverThread(RemoteDebugger* remote_debugger) explicit ReceiverThread(RemoteDebugger* remote_debugger)
: Thread("d8:ReceiverThrd"), : Thread("d8:ReceiverThrd"),
remote_debugger_(remote_debugger) {} remote_debugger_(remote_debugger) {}
~ReceiverThread() {} ~ReceiverThread() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment