![]() ![]() | ![]() |
File: [local] / ports / games / vcmi / patches / Attic / patch-lib_logging_CLogger_cpp (download)
Revision 1.1, Sat Jun 29 02:56:57 2013 UTC (11 years ago) by kirby
fix build |
$OpenBSD$ --- lib/logging/CLogger.cpp.orig Fri Jun 28 19:30:43 2013 +++ lib/logging/CLogger.cpp Fri Jun 28 19:31:01 2013 @@ -197,7 +197,7 @@ void CLogger::callTargets(const LogRecord & record) co TLockGuard _(mx); for(const CLogger * logger = this; logger != nullptr; logger = logger->parent) { - BOOST_FOREACH(auto & target, logger->targets) + for (auto & target : logger->targets) { target->write(record); }