]> code.bitgloo.com Git - clyne/entityx.git/commit
Added std::forward in order to respect move semantics in some methods.
authorscott-linder <scott.b.linder@wmich.edu>
Tue, 31 Dec 2013 00:33:17 +0000 (19:33 -0500)
committerscott-linder <scott.b.linder@wmich.edu>
Tue, 31 Dec 2013 00:51:07 +0000 (19:51 -0500)
commit9d5a03233f4b9495b8698ed8e4bad3d246cbbf13
treeac22e6f344bee0c5e877f2e5eea70b1b4a1aa7b6
parentcc783cfc82ab99d90070193da71c4970bc08a96e
Added std::forward in order to respect move semantics in some methods.

Previously, calls to the methods assign<C>(...), emit<E>(...), and add<S>(...)
would fail if constructor arguments relied upon move semantics.
entityx/Entity.h
entityx/Event.h
entityx/System.h