mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Revert "Make fmt() non-recursive"
This reverts commit 2b761d5f50
.
Also *really* make fmt() take arguments by reference.
This commit is contained in:
parent
334b8f8af1
commit
603b2f583c
2 changed files with 12 additions and 2 deletions
|
@ -161,7 +161,7 @@ template<typename... Args>
|
|||
inline void warn(const std::string & fs, const Args & ... args)
|
||||
{
|
||||
boost::format f(fs);
|
||||
nop{boost::io::detail::feed(f, args)...};
|
||||
formatHelper(f, args...);
|
||||
logger->warn(f.str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue