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:
Jan committed 2019-10-02 12:48:58 +02:00
1 parent 2c611a1368
commit 9d1b7325a2
9 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -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())
{