X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fdb%2Fsqlite3db%2Fsqlite3db.h;h=59fb89dadd7fc260da0ef938e173ef46ff60a1fd;hp=f60961b8a93f9a040784b6e2f0b994ae4a0df56f;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/db/sqlite3db/sqlite3db.h b/include/db/sqlite3db/sqlite3db.h index f60961b..59fb89d 100644 --- a/include/db/sqlite3db/sqlite3db.h +++ b/include/db/sqlite3db/sqlite3db.h @@ -1,11 +1,9 @@ #ifndef _sqlite3db_ #define _sqlite3db_ -#include #include #include #include "../sqlite3db.h" -#include "../../threadwrapper/singleton.h" #if SQLITE_VERSION_NUMBER<3006006 #error "Your version of SQLite is too old! 3.6.6.2 or later is required." @@ -14,7 +12,7 @@ namespace SQLite3DB { -class DB:public Singleton +class DB { public: DB(); @@ -38,8 +36,6 @@ public: sqlite3 *GetDB() { return m_db; } - Poco::FastMutex m_mutex; // public so that recordset and statment can lock this mutex themselves - private: void Initialize();