diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/top_block_query.cpp (renamed from lib/top_block_stats.cpp) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index e667570..fa15efa 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -55,7 +55,7 @@ list(APPEND GRAS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/output_handlers.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hier_block.cpp ${CMAKE_CURRENT_SOURCE_DIR}/top_block.cpp - ${CMAKE_CURRENT_SOURCE_DIR}/top_block_stats.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/top_block_query.cpp ${CMAKE_CURRENT_SOURCE_DIR}/register_messages.cpp ${CMAKE_CURRENT_SOURCE_DIR}/theron_allocator.cpp ) diff --git a/lib/top_block_stats.cpp b/lib/top_block_query.cpp index 04fc7ae..1a6376c 100644 --- a/lib/top_block_stats.cpp +++ b/lib/top_block_query.cpp @@ -22,7 +22,7 @@ struct GetStatsReceiver : Theron::Receiver std::vector<GetStatsMessage> messages; }; -std::string TopBlock::get_stats(const std::string &) +std::string TopBlock::query(const std::string &) { //get stats with custom receiver and set high prio GetStatsReceiver receiver; |