aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2024-03-26 15:39:54 -0700
committerRebecca Turner <rbt@sent.as>2024-03-26 15:40:05 -0700
commit8e63eca912a01659cef81b9d6d1cc7cb11edfff5 (patch)
treede159e9a3c17068d55ab06920d3c587d4e2094c7 /src/libutil/logging.hh
parentda22dbc33397c9c6c5d115ce753d5cf11585291e (diff)
Remove `HintFmt::operator%`
Change-Id: Ibcf1a7848b4b18ec9b0807628ff229079ae7a0fe
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 7a6341d70..298d66060 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -242,9 +242,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...) \