From 2e8f4faa100101e258b786494bac0996601cb4a1 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 4 Mar 2024 09:32:02 -0800 Subject: [PATCH] Fix build Not sure why that was giving a duplicate symbol error, or why marking it inline fixes it. Here it is! --- src/libutil/fmt.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ^