summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-error.h')
-rw-r--r--libmysqlpp/my-error.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/libmysqlpp/my-error.h b/libmysqlpp/my-error.h
index b48c4a6..85fff63 100644
--- a/libmysqlpp/my-error.h
+++ b/libmysqlpp/my-error.h
@@ -2,20 +2,19 @@
#define MY_ERROR_H
#include <error.h>
-#include <mysql.h>
#include <exception.h>
+#include <mysql.h>
namespace MySQL {
class Error : public AdHoc::Exception<DB::Error> {
- public:
- explicit Error(MYSQL_STMT *);
- explicit Error(MYSQL *);
- std::string message() const noexcept override;
+ public:
+ explicit Error(MYSQL_STMT *);
+ explicit Error(MYSQL *);
+ std::string message() const noexcept override;
- private:
- std::string msg;
+ private:
+ std::string msg;
};
}
#endif
-