Fix std::forward return in toLocalString (#134)
This commit is contained in:
parent
00e8ecc482
commit
290f750ee7
@ -202,7 +202,7 @@ namespace cxxopts
|
|||||||
T
|
T
|
||||||
toLocalString(T&& t)
|
toLocalString(T&& t)
|
||||||
{
|
{
|
||||||
return t;
|
return std::forward<T>(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user