diff options
author | wiggles dog <rbt@sent.as> | 2024-03-29 01:13:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-03-29 01:13:45 +0000 |
commit | 236bc046ba9713e5f7647b97d41608477daafa3b (patch) | |
tree | 6eef870ac08725e0d0d40403b7f08901f8bbcb54 /src/libutil/logging.hh | |
parent | 55350bd68decdc1287a34e0b52a1f9fce9ae854b (diff) | |
parent | 8e63eca912a01659cef81b9d6d1cc7cb11edfff5 (diff) |
Merge "Remove `HintFmt::operator%`" into main
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r-- | src/libutil/logging.hh | 4 |
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...) \ |