mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
using emplace
This commit is contained in:
parent
3644c120c0
commit
5f715d73e3
34 changed files with 101 additions and 103 deletions
|
@ -1066,7 +1066,7 @@ void Architecture::parsePreferSplit(const Element *el)
|
|||
List::const_iterator iter;
|
||||
|
||||
for(iter=list.begin();iter!=list.end();++iter) {
|
||||
splitrecords.push_back(PreferSplitRecord());
|
||||
splitrecords.emplace_back();
|
||||
PreferSplitRecord &record( splitrecords.back() );
|
||||
record.storage.restoreXml( *iter, this );
|
||||
record.splitoffset = record.storage.size/2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue