X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0c097ef3435d2a45c1ee4ac80f8bd3f254fb8df5..HEAD:/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;