mirror of https://github.com/stella-emu/stella.git
Forgot one file for brace fixes in the last merge.
This commit is contained in:
parent
39b42bca55
commit
5cd3cdf841
|
@ -24,8 +24,8 @@
|
|||
class SqliteError : public std::exception
|
||||
{
|
||||
public:
|
||||
explicit SqliteError(const string& message) : myMessage(message) { }
|
||||
explicit SqliteError(sqlite3* handle) : myMessage(sqlite3_errmsg(handle)) { }
|
||||
explicit SqliteError(const string& message) : myMessage{message} { }
|
||||
explicit SqliteError(sqlite3* handle) : myMessage{sqlite3_errmsg(handle)} { }
|
||||
|
||||
const char* what() const noexcept override { return myMessage.c_str(); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue