mirror of https://github.com/sipwise/sems.git
Fixes: Variable copied when it could be moved (COPY_INSTEAD_OF_MOVE) copy_constructor_call: varname is passed-by-value as parameter to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const &), when it could be moved instead. Do the move operation also for the rvalue beign assigned, as it is a locally allocated pair. Change-Id: Iba8e349f13c4f83bcd10e229fb101e7b26872f0emaster
parent
a7b654cdbb
commit
5a602aee19
Loading…
Reference in new issue