mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-01 20:25:20 +01:00
Warnings: Add UNREACHABLE macros to switches that contemplate all possible values.
This commit is contained in:
parent
145a7293a3
commit
65f19b51c4
3 changed files with 7 additions and 2 deletions
|
|
@ -90,6 +90,8 @@ std::u16string Path::AsU16Str() const {
|
|||
LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!");
|
||||
return {};
|
||||
}
|
||||
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
std::vector<u8> Path::AsBinary() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue