aleksraiden opened a new pull request, #2148:
URL: https://github.com/apache/kvrocks/pull/2148
Fix warning at build like:
```
[ 85%] Building CXX object
CMakeFiles/kvrocks_objs.dir/src/cluster/slot_import.cc.o
/Users/runner/work/kvrocks/kvrocks/src/cluster/replication.cc:78:10:
warning: local variable 's' will be copied despite being returned by name
[-Wreturn-std-move]
return s;
^
/Users/runner/work/kvrocks/kvrocks/src/cluster/replication.cc:78:10: note:
call 'std::move' explicitly to avoid copying
return s;
^
std::move(s)
[ 85%] Building CXX object
CMakeFiles/kvrocks_objs.dir/src/cluster/slot_migrate.cc.o
[ 85%] Building CXX object
CMakeFiles/kvrocks_objs.dir/src/cluster/sync_migrate_context.cc.o
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]