Switch to side-by-side view
--- a/src/utils/log.cpp +++ b/src/utils/log.cpp @@ -31,7 +31,7 @@ bool Logger::reopen(const std::string& fn) { #if LOGGER_THREADSAFE - std::unique_lock<std::mutex> lock(m_mutex); + std::unique_lock<std::recursive_mutex> lock(m_mutex); #endif if (!fn.empty()) { m_fn = fn;