From d77f801dc01c5e30c0d96e907c8ac14f23d7b630 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 18 Nov 2020 16:54:48 +0000 Subject: Clang format --- libmysqlpp/my-error.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'libmysqlpp/my-error.cpp') diff --git a/libmysqlpp/my-error.cpp b/libmysqlpp/my-error.cpp index f563236..1af24ea 100644 --- a/libmysqlpp/my-error.cpp +++ b/libmysqlpp/my-error.cpp @@ -1,19 +1,12 @@ #include "my-error.h" #include -MySQL::Error::Error(MYSQL * m) : - msg(mysql_error(m)) -{ -} +MySQL::Error::Error(MYSQL * m) : msg(mysql_error(m)) { } -MySQL::Error::Error(MYSQL_STMT * m) : - msg(mysql_stmt_error(m)) -{ -} +MySQL::Error::Error(MYSQL_STMT * m) : msg(mysql_stmt_error(m)) { } std::string MySQL::Error::message() const noexcept { return msg; } - -- cgit v1.2.3