Switch to side-by-side view
--- a/libupnpp/log.cpp +++ b/libupnpp/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;