diff --git a/Log.h b/Log.h index 26390634..a6fc2222 100644 --- a/Log.h +++ b/Log.h @@ -152,14 +152,14 @@ namespace log { /** internal usage only -- folding args array to single string */ template -void LogPrint (std::stringstream& s, TValue&& arg) +void LogPrint (std::stringstream& s, TValue&& arg) noexcept { s << std::forward(arg); } /** internal usage only -- folding args array to single string */ template -void LogPrint (std::stringstream& s, TValue&& arg, TArgs&&... args) +void LogPrint (std::stringstream& s, TValue&& arg, TArgs&&... args) noexcept { LogPrint (s, std::forward(arg)); LogPrint (s, std::forward(args)...); @@ -171,7 +171,7 @@ void LogPrint (std::stringstream& s, TValue&& arg, TArgs&&... args) * @param args Array of message parts */ template -void LogPrint (LogLevel level, TArgs&&... args) +void LogPrint (LogLevel level, TArgs&&... args) noexcept { i2p::log::Log &log = i2p::log::Logger(); if (level > log.GetLogLevel ())