lib/sqlite/Util: move into namespace

This commit is contained in:
Max Kellermann 2019-04-25 11:56:52 +02:00
parent 5a3828ed4a
commit 34d483a34a
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,8 @@
#include <assert.h> #include <assert.h>
namespace Sqlite {
/** /**
* Throws #SqliteError on error. * Throws #SqliteError on error.
*/ */
@ -158,4 +160,6 @@ ExecuteForEach(sqlite3_stmt *stmt, F &&f)
} }
} }
} // namespace Sqlite
#endif #endif

View File

@ -28,6 +28,8 @@
#include <assert.h> #include <assert.h>
using namespace Sqlite;
enum sticker_sql { enum sticker_sql {
STICKER_SQL_GET, STICKER_SQL_GET,
STICKER_SQL_LIST, STICKER_SQL_LIST,