aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index dc6f53d77..7b7f69833 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -230,9 +230,7 @@ extern Verbosity verbosity;
template<typename... Args>
inline void warn(const std::string & fs, const Args & ... args)
{
- boost::format f(fs);
- formatHelper(f, args...);
- logger->warn(f.str());
+ logger->warn(HintFmt(fs, args...).str());
}
#define warnOnce(haveWarned, args...) \