diff options
author | Naios <naios-dev@live.de> | 2016-03-11 18:55:33 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-03-11 18:55:33 +0100 |
commit | 998607b1067c453df0d1ad1a450d72faab5fd922 (patch) | |
tree | 2cbc52651395c451056605d4781d7e60e693512f /src/common/Logging/Log.h | |
parent | d1efa0b8b1a553b184f884ad757bcebc913f117b (diff) |
Core/Common: Move singleton instances into compilation units
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
(cherry picked from commit 5c91586797f199259567629a1d4d3f987c73e53c)
Diffstat (limited to 'src/common/Logging/Log.h')
-rw-r--r-- | src/common/Logging/Log.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/common/Logging/Log.h b/src/common/Logging/Log.h index a90481ad5d2..6f9c5600775 100644 --- a/src/common/Logging/Log.h +++ b/src/common/Logging/Log.h @@ -44,11 +44,7 @@ class Log public: - static Log* instance() - { - static Log instance; - return &instance; - } + static Log* instance(); void Initialize(boost::asio::io_service* ioService); void LoadFromConfig(); |