From d04c8699d25b74c1d934d788320daec0b986b505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Fri, 5 Aug 2016 07:56:20 +0200 Subject: [PATCH] Apply code style --- include/SQLiteCpp/Exception.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/SQLiteCpp/Exception.h b/include/SQLiteCpp/Exception.h index 6fd92de..b064ad9 100644 --- a/include/SQLiteCpp/Exception.h +++ b/include/SQLiteCpp/Exception.h @@ -76,12 +76,14 @@ public: Exception(sqlite3* apSQLite, int ret); /// Return the result code (if any, otherwise -1). - int getErrorCode() const noexcept { // nothrow + inline int getErrorCode() const noexcept // nothrow + { return mErrcode; } /// Return the extended numeric result code (if any, otherwise -1). - int getExtendedErrorCode() const noexcept { // nothrow + inline int getExtendedErrorCode() const noexcept // nothrow + { return mExtendedErrcode; }