Convert all remaining enums to enum classes (!)

This commit is contained in:
Jérôme Leclercq
2021-05-25 00:08:50 +02:00
parent 8cdd0b51cb
commit 874fb3542e
122 changed files with 1082 additions and 2169 deletions

View File

@@ -23,7 +23,7 @@ namespace Nz
// Force stream in text mode, reset it at the end
Nz::CallOnExit resetTextMode;
if ((stream.GetStreamOptions() & StreamOption_Text) == 0)
if ((stream.GetStreamOptions() & StreamOption::Text) == 0)
{
stream.EnableTextMode(true);
@@ -95,7 +95,7 @@ namespace Nz
// Force stream in text mode, reset it at the end
Nz::CallOnExit resetTextMode;
if ((stream.GetStreamOptions() & StreamOption_Text) == 0)
if ((stream.GetStreamOptions() & StreamOption::Text) == 0)
{
stream.EnableTextMode(true);
@@ -493,7 +493,7 @@ namespace Nz
// Force stream in text mode, reset it at the end
Nz::CallOnExit resetTextMode;
if ((stream.GetStreamOptions() & StreamOption_Text) == 0)
if ((stream.GetStreamOptions() & StreamOption::Text) == 0)
{
stream.EnableTextMode(true);