From f737f19d254096541cc58a9039d72e3d64c168a6 Mon Sep 17 00:00:00 2001 From: Ivan Lezhankin Date: Mon, 20 Jan 2020 19:23:37 +0300 Subject: [PATCH] Fix build --- utils/zookeeper-cli/zookeeper-cli.cpp | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/utils/zookeeper-cli/zookeeper-cli.cpp b/utils/zookeeper-cli/zookeeper-cli.cpp index ba20f462735..44140423a15 100644 --- a/utils/zookeeper-cli/zookeeper-cli.cpp +++ b/utils/zookeeper-cli/zookeeper-cli.cpp @@ -1,17 +1,13 @@ -#include +#include +#include +#include #include +#include +#include +#include + #include #include -#include -#include -#include -#include - -#if USE_REPLXX -# include -#else -# include -#endif void printStat(const Coordination::Stat & s) @@ -74,11 +70,7 @@ int main(int argc, char ** argv) Logger::root().setLevel("trace"); zkutil::ZooKeeper zk(argv[1]); -#if USE_REPLXX - ReplxxLineReader lr(nullptr, {}, '\\'); -#else LineReader lr({}, '\\'); -#endif do {