From 46e26191f43ba63b3a206396e23674f7e85f6c92 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 28 Apr 2014 19:27:19 -0700 Subject: [PATCH] Remove unnecessary const refs. --- format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/format.h b/format.h index d6cad8b7..32ad22f0 100644 --- a/format.h +++ b/format.h @@ -1549,14 +1549,14 @@ inline Formatter PrintColored(Color c, StringRef format) { #if FMT_USE_VARIADIC_TEMPLATES && FMT_USE_RVALUE_REFERENCES template -inline Writer Format(const StringRef &format, const Args & ... args) { +inline Writer Format(StringRef format, const Args & ... args) { Writer w; w.Format(format, args...); return std::move(w); } template -inline WWriter Format(const WStringRef &format, const Args & ... args) { +inline WWriter Format(WStringRef format, const Args & ... args) { WWriter w; w.Format(format, args...); return std::move(w);