[Commits] [wesnoth/wesnoth] 468437: Use std::move() instead of std::forward()
GitHub
noreply at github.com
Tue Nov 14 18:48:56 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 468437666ebe178096426233bfacca6cf4a3a61a
https://github.com/wesnoth/wesnoth/commit/468437666ebe178096426233bfacca6cf4a3a61a
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2017-11-14 (Tue, 14 Nov 2017)
Changed paths:
M src/formula/function.cpp
Log Message:
-----------
Use std::move() instead of std::forward()
Std::forward() is intended to be used in reference-collapsing contexts
(i.e. templates). @Vultraz said in Discord that the code doesn't compile
with std::move(), but it compiles just fine for me with Visual Studio 2017.
More information about the Commits
mailing list