From 8e63eca912a01659cef81b9d6d1cc7cb11edfff5 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Tue, 26 Mar 2024 15:39:54 -0700 Subject: Remove `HintFmt::operator%` Change-Id: Ibcf1a7848b4b18ec9b0807628ff229079ae7a0fe --- src/libutil/logging.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libutil/logging.hh') diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh index 7a6341d70..298d66060 100644 --- a/src/libutil/logging.hh +++ b/src/libutil/logging.hh @@ -242,9 +242,7 @@ extern Verbosity verbosity; template 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...) \ -- cgit v1.2.3