-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
ALL
-
Sharding EMEA 2022-10-17
AUTO_CAUSES_COPY
Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
/src/mongo/db/s/sharding_ddl_util.cpp:220: AUTO_CAUSES_COPY 128582 Using the "auto" keyword without an "&" causes the copy of an object of type MismatchedShard.
- depends on
-
SERVER-69581 Clang tidy performance-for-range-copy
- Closed