Commit 1f7ac82495825c83d8e41792f5defa79af4de7ce

Authored by Jan Koßmann
Committed by jarro2783
1 parent 7c468aaf

Fix std::forward return in toLocalString (#134)

Showing 1 changed file with 1 additions and 1 deletions
include/cxxopts.hpp
... ... @@ -210,7 +210,7 @@ namespace cxxopts
210 210 T
211 211 toLocalString(T&& t)
212 212 {
213   - return t;
  213 + return std::forward<T>(t);
214 214 }
215 215  
216 216 inline
... ...