Skip to content

Commit

Permalink
changes to fix comments in the PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan committed Jan 14, 2021
1 parent 683aae7 commit 0963cd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ set(HERMES_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/api/hermes.cc
${CMAKE_CURRENT_SOURCE_DIR}/api/vbucket.cc
${CMAKE_CURRENT_SOURCE_DIR}/buffer_pool.cc
${CMAKE_CURRENT_SOURCE_DIR}/data_placement_engine.cc
api/traits.cc)
${CMAKE_CURRENT_SOURCE_DIR}/data_placement_engine.cc)

#------------------------------------------------------------------------------
# Libraries
Expand Down
6 changes: 3 additions & 3 deletions src/api/traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@

namespace hermes {
namespace api {

struct BlobInfo {
std::string bucket_name;
std::string blob_name;
};
typedef BlobInfo TraitInput;
// typedef void* TraitCallback;

typedef BlobInfo TraitInput;
struct Trait;
typedef std::function<void(TraitInput &, Trait *)> TraitCallback;
// typedef void(*TraitCallback)(TraitInput &, Trait *);

struct Trait {
TraitID id;
TraitIdArray conflict_traits;
Expand Down
1 change: 1 addition & 0 deletions src/buffer_pool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "memory_management.cc"
#include "config_parser.cc"
#include "utils.cc"
#include "traits.cc"

#if defined(HERMES_COMMUNICATION_MPI)
#include "communication_mpi.cc"
Expand Down

0 comments on commit 0963cd8

Please sign in to comment.