diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-06-28 19:08:28 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-06-28 19:52:40 -0400 |
| commit | daa205990fa043092394931b85be6efdc37408df (patch) | |
| tree | d1e85f070ba34dc138e6744ddc18453b8f525d10 /Source/Core/VideoCommon/DriverDetails.cpp | |
| parent | 1120132d261f08fae7bb19933a4d814d52eca8a3 (diff) | |
Use emplace() instead of insert() where applicable for maps.
Diffstat (limited to 'Source/Core/VideoCommon/DriverDetails.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index d3b1883cb3..04808c3e62 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -105,7 +105,7 @@ namespace DriverDetails ( bug.m_versionstart <= m_version || bug.m_versionstart == -1 ) && ( bug.m_versionend > m_version || bug.m_versionend == -1 ) ) - m_bugs.insert(std::make_pair(bug.m_bug, bug)); + m_bugs.emplace(bug.m_bug, bug); } } |
