Skip to content

Commit

Permalink
Fixup for aea24f9 (#1094)
Browse files Browse the repository at this point in the history
Remove header dependency to kv_types.hpp
  • Loading branch information
tdimitrov committed Jan 8, 2021
1 parent 9e09305 commit 6690da4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion storage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ find_library(LIBS3 s3)
target_compile_definitions(concordbft_storage PUBLIC USE_S3_OBJECT_STORE=1)
target_sources(concordbft_storage PRIVATE src/s3/client.cpp)
target_link_libraries(concordbft_storage PRIVATE ${LIBS3})
target_include_directories(concordbft_storage PRIVATE ${CMAKE_SOURCE_DIR}/kvbc/include/)
endif(USE_S3_OBJECT_STORE)

if (BUILD_ROCKSDB_STORAGE)
Expand Down
3 changes: 1 addition & 2 deletions storage/include/s3/metrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "Metrics.hpp"
#include "sliver.hpp"
#include "kv_types.hpp"
#include "Logger.hpp"
namespace concord::storage::s3 {

Expand Down Expand Up @@ -56,7 +55,7 @@ class Metrics {
last_saved_block_id_.Get().Set(lastSavedBlockVal);
}

kvbc::BlockId getLastSavedBlockId() { return last_saved_block_id_.Get().Get(); }
uint64_t getLastSavedBlockId() { return last_saved_block_id_.Get().Get(); }

concordMetrics::Component metrics_component;

Expand Down

0 comments on commit 6690da4

Please sign in to comment.