0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 09:08:21 +08:00
Sergey Yagovtsev 164eaa519d Warning fix
2016-08-08 22:45:57 +03:00

24 lines
490 B
C++

#define IGNORE_GLOBALS_DECLARATION
#include "globals.h"
#undef IGNORE_GLOBALS_DECLARATION
namespace profiler_gui {
ProfGlobals& ProfGlobals::instance()
{
static ProfGlobals globals;
return globals;
}
ProfGlobals::ProfGlobals()
: selected_thread(0)
, selected_block(-1)
, draw_graphics_items_borders(true)
{
}
} // END of namespace profiler_gui.
//////////////////////////////////////////////////////////////////////////