summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
index 549088042f..178719ba2d 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomPipeline.cpp
@@ -101,7 +101,7 @@ std::vector<std::string> GlobalConflicts(std::string_view source)
{
i++;
}
- global_result.push_back(std::string{parse_identifier()});
+ global_result.emplace_back(parse_identifier());
parse_until_end_of_preprocessor();
}
else
@@ -121,11 +121,11 @@ std::vector<std::string> GlobalConflicts(std::string_view source)
// Since we handle equality, we can assume the identifier
// before '(' is a function definition
- global_result.push_back(std::string{last_identifier});
+ global_result.emplace_back(last_identifier);
}
else if (source[i] == '=')
{
- global_result.push_back(std::string{last_identifier});
+ global_result.emplace_back(last_identifier);
i++;
for (; i < source.size(); i++)
{