Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
QuInt A (10/12/15)
Description
src/mongo/s/client/shard_registry.cpp:267:45: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
|
shardType.getName(), shardHost, std::move(_targeterFactory->create(shardHost)));
|
^
|
src/mongo/s/client/shard_registry.cpp:267:45: note: remove std::move call here
|
shardType.getName(), shardHost, std::move(_targeterFactory->create(shardHost)));
|
^~~~~~~~~~ ~
|
1 error generated.
|