mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
Fixed build. [#METR-10202]
This commit is contained in:
parent
4d4aeb2ee9
commit
fa7cba6de4
@ -11,9 +11,9 @@ class KeeperException : public DB::Exception
|
||||
public:
|
||||
KeeperException(const std::string & msg) : DB::Exception(msg), code(ReturnCode::Ok) {}
|
||||
KeeperException(const std::string & msg, ReturnCode::type code_)
|
||||
: Poco::Exception(msg + " (" + ReturnCode::toString(code_) + ")"), code(code_) {}
|
||||
: DB::Exception(msg + " (" + ReturnCode::toString(code_) + ")"), code(code_) {}
|
||||
KeeperException(ReturnCode::type code_)
|
||||
: Poco::Exception(ReturnCode::toString(code_)), code(code_) {}
|
||||
: DB::Exception(ReturnCode::toString(code_)), code(code_) {}
|
||||
|
||||
ReturnCode::type code;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user