Commit 34d483a3 authored by Max Kellermann's avatar Max Kellermann

lib/sqlite/Util: move into namespace

parent 5a3828ed
...@@ -26,6 +26,8 @@ ...@@ -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) ...@@ -158,4 +160,6 @@ ExecuteForEach(sqlite3_stmt *stmt, F &&f)
} }
} }
} // namespace Sqlite
#endif #endif
...@@ -28,6 +28,8 @@ ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment