From 5bc49de682eec79f3dc8096c6812bee70fe2d496 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 3 Jun 2015 00:06:31 +0200 Subject: Make it simpler to use DB Add DB::Transaction --- src/sqlite3_db.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sqlite3_db.hh') diff --git a/src/sqlite3_db.hh b/src/sqlite3_db.hh index 6e266e9..1a24df4 100644 --- a/src/sqlite3_db.hh +++ b/src/sqlite3_db.hh @@ -3,13 +3,14 @@ #include "db.hh" +#include #include namespace stuff { class SQLite3 { public: - static DB* open(const std::string& path); + static std::unique_ptr open(const std::string& path); }; } // namespace stuff -- cgit v1.2.3-70-g09d2