X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdb%2Fsqlite3db%2Fsqlite3db.h;h=f60961b8a93f9a040784b6e2f0b994ae4a0df56f;hb=4e96d123460d6363cf7274e36bd9357768eb86ad;hp=470ba85f41dda839f7b603d72678da3101f9b8cf;hpb=dec33c63afafabf83c3039e916725cac6faef9b3;p=fms.git diff --git a/include/db/sqlite3db/sqlite3db.h b/include/db/sqlite3db/sqlite3db.h index 470ba85..f60961b 100644 --- a/include/db/sqlite3db/sqlite3db.h +++ b/include/db/sqlite3db/sqlite3db.h @@ -7,8 +7,8 @@ #include "../sqlite3db.h" #include "../../threadwrapper/singleton.h" -#if SQLITE_VERSION_NUMBER<3005000 -#error "Your version of SQLite is too old! 3.5.0 or later is required." +#if SQLITE_VERSION_NUMBER<3006006 +#error "Your version of SQLite is too old! 3.6.6.2 or later is required." #endif namespace SQLite3DB @@ -18,7 +18,7 @@ class DB:public Singleton { public: DB(); - DB(std::string filename); + DB(const std::string &filename); ~DB(); const bool Open(const std::string &filename);