mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
9ba459662d
[19/199] Building CXX object apps/opencs/CMakeFiles/openmw-cs.dir/model/world/commands.cpp.o ../../../apps/opencs/model/world/commands.cpp:298:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] mOld = std::move(model.getRecord (id).clone()); ^ ../../../apps/opencs/model/world/commands.cpp:298:12: note: remove std::move call here mOld = std::move(model.getRecord (id).clone()); ^~~~~~~~~~ ~ ../../../apps/opencs/model/world/commands.cpp:333:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] mOld = std::move(model.getRecord (id).clone()); ^ ../../../apps/opencs/model/world/commands.cpp:333:12: note: remove std::move call here mOld = std::move(model.getRecord (id).clone()); ^~~~~~~~~~ ~ 2 warnings generated.