cern-fts / davix

High-performance file management over WebDAV / HTTP
GNU Lesser General Public License v2.1
84 stars 36 forks source link

Remove std::move from return statement #86

Closed ellert closed 2 years ago

ellert commented 2 years ago
.../test/drunk-server/DrunkServer.cpp:116:23: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  116 |       return std::move(conn);
      |              ~~~~~~~~~^~~~~~
.../test/drunk-server/DrunkServer.cpp:116:23: note: remove 'std::move' call