Skip to content

Commit

Permalink
Minor code optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Natashi committed Jan 17, 2021
1 parent 515c845 commit 00141c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/GcLib/gstd/ArchiveFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ bool ArchiveFile::Open() {
}
*/

mapEntry_.insert(std::pair<std::wstring, shared_ptr<ArchiveFileEntry>>(entry->name, entry));
mapEntry_.insert(std::make_pair(entry->name, entry));
}

res = true;
Expand Down

0 comments on commit 00141c3

Please sign in to comment.