about summary refs log tree commit diff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-11T15·06+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-15T15·36+0200
commit2b761d5f50b7dc17dc55c31980c2253c37b3c920 (patch)
tree48fa396d4ddc2eb7348c213dbd59c08404ca64e3 /src/libutil/logging.hh
parent0124d118ef6718716f740ebfd3ae5eff0453be9e (diff)
Make fmt() non-recursive
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index 81aebccdca45..a8c69dbd956d 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -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());
 }