Commit 656ff6f3 authored by xuehui's avatar xuehui Committed by GitHub
Browse files

Update log.h

parent d3657628
......@@ -85,10 +85,7 @@ private:
// a trick to use static variable in header file.
// May be not good, but avoid to use an additional cpp file
static LogLevel& GetLevel() {
static LogLevel level;
return level;
};
static LogLevel& GetLevel() { static LogLevel level; return level; }
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment