aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2019-02-08 14:03:10 +0100
committerGitHub <noreply@github.com>2019-02-08 14:03:10 +0100
commit996ddb202b3dfdf7eed64532b3399a244ad0d5c2 (patch)
treea27cd5e9842c031b2c1a7716f6e5009d61ea50cc /src
parent9d411699d86538c21255642a2adecbace1ce33fc (diff)
Use constexpr char array instead of string where applicable
Co-Authored-By: FreddyFunk <frederic.laing.development@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index b1df2760d9..6d42bc67f6 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1072,7 +1072,7 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
ASSERT(program_id != 0);
std::string transferable_shader_cache_file_path;
- const std::string open_target = "Transferable Shader Cache";
+ constexpr char open_target[] = "Transferable Shader Cache";
const std::string tranferable_shader_cache_folder =
FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir) + "opengl" + DIR_SEP "transferable";