-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Service Arch
-
ALL
-
Service Arch 2023-02-20, Service Arch 2023-03-06
Using a moved object
Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
/build/7a67446c/mongo/db/modules/enterprise/src/search/text_search_index_commands_gen.cpp:1102: USE_AFTER_MOVE 135067 "nss" is moved (indicated by "std::move(nss)").
/build/7a67446c/mongo/db/modules/enterprise/src/search/text_search_index_commands_gen.cpp:1102: USE_AFTER_MOVE 135067 "nss" is used after it has been already moved.
- duplicates
-
SERVER-74238 IDL Compiler Can Generate Use-After-Move When Generating Struct Initializer Lists
- Closed
- is related to
-
SERVER-74000 clang-tidy should parse generated cpp files
- Closed