diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-16 00:34:12 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-16 00:34:12 +0200 |
commit | 2e5696dba4056a40239e68f3646ec328be531ad7 (patch) | |
tree | a2fe586809d573ac4507fbb8496fe2b62301e986 /src | |
parent | Merge pull request #1002 from bunnei/shader-jit (diff) | |
parent | Handle invalid `Log::Class` (diff) | |
download | yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.tar yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.tar.gz yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.tar.bz2 yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.tar.lz yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.tar.xz yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.tar.zst yuzu-2e5696dba4056a40239e68f3646ec328be531ad7.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/logging/backend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 0a081e7d4..92e8e742d 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -66,8 +66,9 @@ const char* GetLogClassName(Class log_class) { ALL_LOG_CLASSES() #undef CLS #undef SUB + case Class::Count: + UNREACHABLE(); } - return "Unknown"; } const char* GetLevelName(Level log_level) { |