diff options
Diffstat (limited to 'src/mutex.cpp')
-rw-r--r-- | src/mutex.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mutex.cpp b/src/mutex.cpp index 074da7e42..5514922b2 100644 --- a/src/mutex.cpp +++ b/src/mutex.cpp @@ -36,11 +36,9 @@ Mutex* Mutex_Factory::make() class Mutex_State_Error : public Internal_Error { public: - Mutex_State_Error(const std::string& where) - { - set_msg("Default_Mutex::" + where + ": Mutex is already " + - where + "ed"); - } + Mutex_State_Error(const std::string& where) : + Internal_Error("Default_Mutex::" + where + ": " + + "Mutex is already " + where + "ed") {} }; void lock() |