1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

vcmi: reduce boost a little bit

This commit is contained in:
Konstantin
2023-04-11 17:11:14 +03:00
parent ff66592fad
commit ea3bdda047
5 changed files with 14 additions and 14 deletions

View File

@@ -78,8 +78,8 @@ private:
CLogger * parent;
ELogLevel::ELogLevel level;
std::vector<std::unique_ptr<ILogTarget> > targets;
mutable boost::mutex mx;
static boost::recursive_mutex smx;
mutable std::mutex mx;
static std::recursive_mutex smx;
};
/* ---------------------------------------------------------------------------- */
@@ -101,8 +101,8 @@ private:
virtual ~CLogManager();
std::map<std::string, CLogger *> loggers;
mutable boost::mutex mx;
static boost::recursive_mutex smx;
mutable std::mutex mx;
static std::recursive_mutex smx;
};
/// The struct LogRecord holds the log message and additional logging information.
@@ -200,7 +200,7 @@ private:
bool coloredOutputEnabled;
CLogFormatter formatter;
CColorMapping colorMapping;
mutable boost::mutex mx;
mutable std::mutex mx;
};
/// This target is a logging target which writes messages to a log file.
@@ -222,7 +222,7 @@ public:
private:
FileStream file;
CLogFormatter formatter;
mutable boost::mutex mx;
mutable std::mutex mx;
};
VCMI_LIB_NAMESPACE_END