From 92a551b96e625257def26771155ebd64c6d8757e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 29 Jun 2014 00:06:23 +0000 Subject: fixed not working singletons - still not threadsafe but at least they don't pretend to be --- src/options.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/options.h') diff --git a/src/options.h b/src/options.h index 6ca9e5b..bafdf5e 100644 --- a/src/options.h +++ b/src/options.h @@ -174,22 +174,8 @@ private: Options(const Options& l); void operator=(const Options& l); - static Options* inst; - static ::Mutex instMutex; - class instanceCleaner - { - public: - ~instanceCleaner() { - if(Options::inst != 0) { - delete Options::inst; - } - } - }; - friend class instanceCleaner; - ::SharedMutex mutex; - bool cluster_opts; bool connection_opts; -- cgit v1.2.3