1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Make fmt() non-recursive

This commit is contained in:
Eelco Dolstra 2017-05-11 17:06:07 +02:00
parent 0124d118ef
commit 2b761d5f50
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 7 additions and 12 deletions

View file

@ -88,7 +88,7 @@ template<typename... Args>
inline void warn(const std::string & fs, Args... args)
{
boost::format f(fs);
formatHelper(f, args...);
nop{boost::io::detail::feed(f, args)...};
logger->warn(f.str());
}