From 00141c3658933ca631e180b6d1781dae27e3bdf5 Mon Sep 17 00:00:00 2001 From: Natashi <32347635+Natashi@users.noreply.github.com> Date: Sun, 17 Jan 2021 17:10:11 +0700 Subject: [PATCH] Minor code optimization --- source/GcLib/gstd/ArchiveFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/GcLib/gstd/ArchiveFile.cpp b/source/GcLib/gstd/ArchiveFile.cpp index 81410582..2d264354 100644 --- a/source/GcLib/gstd/ArchiveFile.cpp +++ b/source/GcLib/gstd/ArchiveFile.cpp @@ -355,7 +355,7 @@ bool ArchiveFile::Open() { } */ - mapEntry_.insert(std::pair>(entry->name, entry)); + mapEntry_.insert(std::make_pair(entry->name, entry)); } res = true;