We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3007332 commit d4649bcCopy full SHA for d4649bc
src/util/merge_irep.cpp
@@ -148,7 +148,7 @@ const irept &merge_irept::merged(const irept &irep)
148
dest_named_sub[it->first]=merged(it->second); // recursive call
149
#endif
150
151
- return *irep_store.insert(new_irep).first;
+ return *irep_store.insert(std::move(new_irep)).first;
152
}
153
154
void merge_full_irept::operator()(irept &irep)
@@ -185,5 +185,5 @@ const irept &merge_full_irept::merged(const irept &irep)
185
186
187
188
189
0 commit comments