From 1f7ac82495825c83d8e41792f5defa79af4de7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ko=C3=9Fmann?= Date: Thu, 27 Sep 2018 03:28:07 +0200 Subject: [PATCH] Fix std::forward return in toLocalString (#134) --- include/cxxopts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index c3dd458..d56f194 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -210,7 +210,7 @@ namespace cxxopts T toLocalString(T&& t) { - return t; + return std::forward(t); } inline