summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-error.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:54:48 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:54:48 +0000
commitd77f801dc01c5e30c0d96e907c8ac14f23d7b630 (patch)
tree29756c92cb200c1ddcb422723cd5e676d5c97074 /libmysqlpp/my-error.h
parentFixes for tidy (diff)
downloadlibdbpp-mysql-d77f801dc01c5e30c0d96e907c8ac14f23d7b630.tar.bz2
libdbpp-mysql-d77f801dc01c5e30c0d96e907c8ac14f23d7b630.tar.xz
libdbpp-mysql-d77f801dc01c5e30c0d96e907c8ac14f23d7b630.zip
Clang format
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
-