-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code, Sharding
-
None
-
Fully Compatible
-
ALL
-
QuInt A (10/12/15)
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.