mysqlxx: added const [#CONV-2546].

This commit is contained in:
Alexey Milovidov 2011-07-20 17:30:31 +00:00
parent 8eb6ebbbc5
commit 5779760e0c

View File

@ -15,7 +15,7 @@ namespace mysqlxx
struct Exception : public Poco::Exception
{
Exception(const std::string & msg, int code = 0) : Poco::Exception(msg, code) {}
int errnum() { return code(); }
int errnum() const { return code(); }
};