diff --git a/format.hpp b/format.hpp index 40377899..d8426372 100644 --- a/format.hpp +++ b/format.hpp @@ -203,7 +203,7 @@ namespace util::format { /// parses a printf format string and binds parameters for rendering. template auto - printf (util::view fmt, const Args &...args) + printf (util::view fmt, Args &&...args) { return printf (fmt) (args...); } @@ -212,7 +212,7 @@ namespace util::format { /// parses a python format string and binds parameters for rendering. template auto - python (util::view fmt, const Args &...args) + python (util::view fmt, Args &&...args) { return python (fmt) (args...); }