add default return in switch-case

This commit is contained in:
Sergwest585 2024-10-19 20:51:20 +03:00
parent 6b84fa82fc
commit 2a9e602a1b

View File

@ -79,6 +79,7 @@ struct ContentPack {
case ContentType::ENTITY: return ContentPack::ENTITIES_FOLDER;
case ContentType::GENERATOR: return ContentPack::GENERATORS_FOLDER;
case ContentType::NONE: return fs::u8path("");
default: return fs::u8path("");
}
}
};