diff --git a/src/libutil/fmt.hh b/src/libutil/fmt.hh index 77843f863..abbaf95b6 100644 --- a/src/libutil/fmt.hh +++ b/src/libutil/fmt.hh @@ -34,7 +34,7 @@ inline void formatHelper(F & f, const T & x, const Args & ... args) /** * Set the correct exceptions for `fmt`. */ -void setExceptions(boost::format & fmt) +inline void setExceptions(boost::format & fmt) { fmt.exceptions( boost::io::all_error_bits ^