mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-27 14:51:58 +00:00
Code Quality: Use enum class instead of enum to make sure enum members can only be accessed when scoped to the enum
This commit is contained in:
@ -10,7 +10,7 @@ IZoneLoaderFactory* zoneLoaderFactories[]
|
||||
Zone* ZoneLoading::LoadZone(const std::string& path)
|
||||
{
|
||||
std::string zoneName = utils::Path::GetFilenameWithoutExtension(path);
|
||||
FileAPI::File file = FileAPI::Open(path, FileAPI::MODE_READ);
|
||||
FileAPI::File file = FileAPI::Open(path, FileAPI::Mode::MODE_READ);
|
||||
|
||||
if(!file.IsOpen())
|
||||
{
|
||||
|
Reference in New Issue
Block a user