X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b27841d687ec9e84983340b5581376dfb24010ea..2196a3a0cdc5384c082febb7f4aa5994cc7d80db:/projects/stargazer/plugins/store/firebird/firebird_store.h diff --git a/projects/stargazer/plugins/store/firebird/firebird_store.h b/projects/stargazer/plugins/store/firebird/firebird_store.h index 4e3dfb68..a34b758f 100644 --- a/projects/stargazer/plugins/store/firebird/firebird_store.h +++ b/projects/stargazer/plugins/store/firebird/firebird_store.h @@ -21,7 +21,6 @@ #pragma once #include "stg/store.h" -#include "stg/locker.h" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" #include "stg/ibpp.h" @@ -32,6 +31,7 @@ #include #include #include +#include class FIREBIRD_STORE : public STG::Store { @@ -114,7 +114,7 @@ class FIREBIRD_STORE : public STG::Store std::string db_server, db_database, db_user, db_password; STG::ModuleSettings settings; mutable IBPP::Database db; - mutable pthread_mutex_t mutex; + mutable std::mutex m_mutex; IBPP::TIL til; IBPP::TLR tlr; int schemaVersion;