Browse Source

Use constexpr char array instead of string where applicable

Co-Authored-By: FreddyFunk <frederic.laing.development@gmail.com>
pull/15/merge
Mat M 7 years ago
committed by GitHub
parent
commit
996ddb202b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/yuzu/main.cpp

2
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";

Loading…
Cancel
Save