0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +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,13 +8,10 @@ set(SOURCES
${CPP_FILES}
)
add_definitions(
#-DFULL_DISABLE_PROFILER
)
add_executable(${PROJECT_NAME} ${SOURCES})
if(UNIX)
set(SPEC_LIB pthread)
endif(UNIX)
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})

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){