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