diff options
Diffstat (limited to 'src/libutil/types.hh')
-rw-r--r-- | src/libutil/types.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/types.hh b/src/libutil/types.hh index 4bc91828b..4a6be28a2 100644 --- a/src/libutil/types.hh +++ b/src/libutil/types.hh @@ -67,7 +67,7 @@ inline std::string fmt(const FormatOrString & fs) } template<typename... Args> -inline std::string fmt(const std::string & fs, Args... args) +inline std::string fmt(const std::string & fs, const Args & ... args) { boost::format f(fs); f.exceptions(boost::io::all_error_bits ^ boost::io::too_many_args_bit); |