diff options
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.h b/src/thread.h index 71fbd48cb9..054a4cdff3 100644 --- a/src/thread.h +++ b/src/thread.h @@ -41,11 +41,11 @@ class Mutex { static Mutex* Create(const char* name); public: // TODO: protected - explicit Mutex(const char* name) : name_(name), owner_(NULL) {} - void SetOwner(Thread* thread) { owner_ = thread; } private: + explicit Mutex(const char* name) : name_(name), owner_(NULL) {} + const char* name_; Thread* owner_; |