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
2019-10-02 12:48:58 +02:00
parent 2c611a1368
commit 9d1b7325a2
9 changed files with 21 additions and 21 deletions

View File

@ -4,7 +4,7 @@
class XBlock
{
public:
enum Type
enum class Type
{
BLOCK_TYPE_TEMP,
BLOCK_TYPE_RUNTIME,