Fixed build. [#METR-10202]

This commit is contained in:
Michael Kolupaev 2014-04-02 14:44:55 +04:00
parent 4d4aeb2ee9
commit fa7cba6de4

View File

@ -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;
};