Correction for Linux

This commit is contained in:
Sébastien Rombauts 2012-04-10 21:53:42 +02:00
parent 8cf6d8e8b8
commit bde2c175a7
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ Release
*.ncb *.ncb
*.suo *.suo
*.user *.user
*~

View File

@ -73,7 +73,7 @@ public:
* *
* @param[in] aTimeoutMs Amount of milliseconds to wait before returning SQLITE_BUSY * @param[in] aTimeoutMs Amount of milliseconds to wait before returning SQLITE_BUSY
*/ */
inline int Database::setBusyTimeout(int aTimeoutMs) // throw(); nothrow inline int setBusyTimeout(int aTimeoutMs) // throw(); nothrow
{ {
return sqlite3_busy_timeout(mpSQLite, aTimeoutMs); return sqlite3_busy_timeout(mpSQLite, aTimeoutMs);
} }
@ -83,7 +83,7 @@ public:
* *
* @return Rowid of the most recent successful INSERT into the database, or 0 if there was none. * @return Rowid of the most recent successful INSERT into the database, or 0 if there was none.
*/ */
inline sqlite3_int64 Database::getLastInsertRowid(void) const // throw(); nothrow inline sqlite3_int64 getLastInsertRowid(void) const // throw(); nothrow
{ {
return sqlite3_last_insert_rowid(mpSQLite); return sqlite3_last_insert_rowid(mpSQLite);
} }