aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorwiggles dog <rbt@sent.as>2024-03-29 01:13:45 +0000
committerGerrit Code Review <gerrit@lix>2024-03-29 01:13:45 +0000
commit236bc046ba9713e5f7647b97d41608477daafa3b (patch)
tree6eef870ac08725e0d0d40403b7f08901f8bbcb54 /src/libutil/logging.hh
parent55350bd68decdc1287a34e0b52a1f9fce9ae854b (diff)
parent8e63eca912a01659cef81b9d6d1cc7cb11edfff5 (diff)
Merge "Remove `HintFmt::operator%`" into main
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...) \