0
0
mirror of https://github.com/yse/easy_profiler.git synced 2025-01-14 00:27:55 +08:00

Warning fix

This commit is contained in:
Sergey Yagovtsev 2016-06-22 23:58:41 +03:00
parent 281ba558ea
commit e525df5254
2 changed files with 2 additions and 5 deletions

View File

@ -8,9 +8,6 @@ set(SOURCES
${CPP_FILES}
)
add_definitions(
#-DFULL_DISABLE_PROFILER
)
add_executable(${PROJECT_NAME} ${SOURCES})
if(UNIX)

View File

@ -40,7 +40,7 @@ public:
};
void printTree(TreePrinter& printer, const BlocksTree& tree, int level = 0, int parent_dur = 0, profiler::timestamp_t root_dur = 0)
void printTree(TreePrinter& printer, const BlocksTree& tree, int level = 0, profiler::timestamp_t parent_dur = 0, profiler::timestamp_t root_dur = 0)
{
if (tree.node){