mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
mysqlxx: added const [#CONV-2546].
This commit is contained in:
parent
8eb6ebbbc5
commit
5779760e0c
@ -15,7 +15,7 @@ namespace mysqlxx
|
|||||||
struct Exception : public Poco::Exception
|
struct Exception : public Poco::Exception
|
||||||
{
|
{
|
||||||
Exception(const std::string & msg, int code = 0) : Poco::Exception(msg, code) {}
|
Exception(const std::string & msg, int code = 0) : Poco::Exception(msg, code) {}
|
||||||
int errnum() { return code(); }
|
int errnum() const { return code(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user