Skip to content

Commit

Permalink
remove unused folly reference in main (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: lizhen <[email protected]>
  • Loading branch information
tedli committed Nov 9, 2023
1 parent b968704 commit 409edff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/pikiwidb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
//
// PikiwiDB.cc

#include <folly/concurrency/ConcurrentHashMap.h>

#include <spawn.h>
#include <sys/wait.h>
#include <unistd.h>
Expand Down Expand Up @@ -271,7 +269,7 @@ void PikiwiDB::Run() {
});

worker_threads_.Run(0, nullptr);

INFO("server exit running");
}

Expand All @@ -293,9 +291,6 @@ static void InitLogs() {
}

int main(int ac, char* av[]) {
[[maybe_unused]] folly::ConcurrentHashMap<int, int> a;
[[maybe_unused]] folly::ConcurrentHashMapSIMD<char, char> b;

g_pikiwidb = std::make_unique<PikiwiDB>();

InitSignal();
Expand Down

0 comments on commit 409edff

Please sign in to comment.