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

@@ -190,7 +190,7 @@ void MainWindow::OnCompile()
if (!fileName.endsWith("shader", Qt::CaseInsensitive))
fileName += ".shader";
Nz::File file(fileName.toStdString(), Nz::OpenMode_WriteOnly);
Nz::File file(fileName.toStdString(), Nz::OpenMode::WriteOnly);
file.Write(Nz::ShaderAst::SerializeShader(shader));
}
catch (const std::exception& e)