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.
Updated by Davide Pesavento over 8 years ago
- Status changed from New to Code review
- % Done changed from 0 to 100
Updated by Alex Afanasyev over 8 years ago
- Status changed from Code review to Closed
Actions