From be6a8d6118d5f2e6a6d1494636936cc94996ef5d Mon Sep 17 00:00:00 2001 From: Alexey Zatelepin Date: Wed, 16 Jan 2019 19:42:02 +0300 Subject: [PATCH] fix clang build --- dbms/src/Common/ZooKeeper/IKeeper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbms/src/Common/ZooKeeper/IKeeper.h b/dbms/src/Common/ZooKeeper/IKeeper.h index 313a11ab770..b4ecb9a7ceb 100644 --- a/dbms/src/Common/ZooKeeper/IKeeper.h +++ b/dbms/src/Common/ZooKeeper/IKeeper.h @@ -61,6 +61,7 @@ struct Request { Request() = default; Request(const Request &) = default; + Request & operator=(const Request &) = default; virtual ~Request() = default; virtual String getPath() const = 0; virtual void addRootPath(const String & /* root_path */) {} @@ -76,6 +77,7 @@ struct Response int32_t error = 0; Response() = default; Response(const Response &) = default; + Response & operator=(const Response &) = default; virtual ~Response() = default; virtual void removeRootPath(const String & /* root_path */) {} };