Change to std::forward<T>()
This commit is contained in:
parent
dadc911e44
commit
78c4043cfb
@ -210,7 +210,7 @@ namespace cxxopts
|
|||||||
T
|
T
|
||||||
toLocalString(T&& t)
|
toLocalString(T&& t)
|
||||||
{
|
{
|
||||||
return std::move(t);
|
return std::forward<T>(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline
|
inline
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user