aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/program_metadata.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-19 20:10:40 -0400
committerLioncash <mathew1800@gmail.com>2018-04-19 20:12:58 -0400
commit2259f5d56b442866056b3b3011d834c7212b694a (patch)
treeb497fe468a4ca0d715ffcb0f33fb87dab2fb930d /src/core/file_sys/program_metadata.cpp
parent55fef54f2e82981f1c5ea787a0ab34672bcdc5c0 (diff)
glsl_shader_decompiler: Use std::string_view instead of std::string for AddLine()
This function doesn't need to take ownership of the string data being given to it, considering all we do is append the characters to the internal string instance. Instead, use a string view to simply reference the string data without any potential heap allocation. Now anything that is a raw const char* won't need to be converted to a std::string before appending.
Diffstat (limited to 'src/core/file_sys/program_metadata.cpp')
0 files changed, 0 insertions, 0 deletions