From 34d483a34a909dcb1614c780159cff63492e4668 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Apr 2019 11:56:52 +0200 Subject: [PATCH] lib/sqlite/Util: move into namespace --- src/lib/sqlite/Util.hxx | 4 ++++ src/sticker/Database.cxx | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/lib/sqlite/Util.hxx b/src/lib/sqlite/Util.hxx index ce042cc03..4a6ccedeb 100644 --- a/src/lib/sqlite/Util.hxx +++ b/src/lib/sqlite/Util.hxx @@ -26,6 +26,8 @@ #include +namespace Sqlite { + /** * Throws #SqliteError on error. */ @@ -158,4 +160,6 @@ ExecuteForEach(sqlite3_stmt *stmt, F &&f) } } +} // namespace Sqlite + #endif diff --git a/src/sticker/Database.cxx b/src/sticker/Database.cxx index 0c0d5f3c3..6ed64316b 100644 --- a/src/sticker/Database.cxx +++ b/src/sticker/Database.cxx @@ -28,6 +28,8 @@ #include +using namespace Sqlite; + enum sticker_sql { STICKER_SQL_GET, STICKER_SQL_LIST,