Actions
Bug #3498
closedtopology-tester.cpp:114:26: error: moving a temporary object prevents copy elision
Start date:
Due date:
% Done:
100%
Estimated time:
Description
With clang version 3.8.0 on Linux. Trivial to fix.
[ 26/221] Compiling tests/daemon/fw/topology-tester.cpp
../tests/daemon/fw/topology-tester.cpp:114:26: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
m_forwarders.push_back(std::move(make_unique<Forwarder>()));
^
../tests/daemon/fw/topology-tester.cpp:114:26: note: remove std::move call here
m_forwarders.push_back(std::move(make_unique<Forwarder>()));
^~~~~~~~~~ ~
1 error generated.
Actions