Use emplace_* functions where in-place construction is preferable

This commit is contained in:
Lioncash committed 2015-02-04 11:39:08 -05:00
1 parent 012a4c18ff
commit e07679114b
12 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ void PostProcessingShaderConfiguration::LoadOptions(const std::string& code)
IniFile::ParseLine(line, &key, &value);
if (!(key == "" && value == ""))
current_strings->m_options.push_back(std::make_pair(key, value));
current_strings->m_options.emplace_back(key, value);
}
}
}