X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdb%2Fsqlite3db%2Fsqlite3statement.h;h=e57fbe582a68fe9b9f09eaafcdcad0501925ad9e;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=6294c8ef5660d901ac34ab3385ae2083d5e62405;hpb=8adfd604a97d385869b0ce763b35d014d7aa2cca;p=fms.git diff --git a/include/db/sqlite3db/sqlite3statement.h b/include/db/sqlite3db/sqlite3statement.h index 6294c8e..e57fbe5 100644 --- a/include/db/sqlite3db/sqlite3statement.h +++ b/include/db/sqlite3db/sqlite3statement.h @@ -3,6 +3,8 @@ #include "sqlite3db.h" +#include + #include #include @@ -57,7 +59,7 @@ private: long m_lastinsertrowid; static std::map m_statementcount; - std::vector textptrs; + static Poco::FastMutex m_mutex; // protect all access to m_statementcount }; //class