Remove C++11 in Log.h

This commit is contained in:
Koncord 2016-08-15 21:45:49 +08:00
parent b3320c7bb9
commit e9ee9c8b3b

View file

@ -33,9 +33,11 @@ class Log
void print(int level, const char *file, int line, const char *message, ...) const; void print(int level, const char *file, int line, const char *message, ...) const;
private: private:
Log(int logLevel); Log(int logLevel);
Log( const Log& ) = delete; /// Not implemented
Log& operator=( const Log& ) = delete; Log( const Log& );
static Log * sLog; /// Not implemented
Log& operator=(Log& );
static Log *sLog;
int logLevel; int logLevel;
}; };