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; }