2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

hecl/FourCC: Make use of constexpr constructors where applicable

This commit is contained in:
Lioncash
2019-08-15 06:25:21 -04:00
parent 9e7661eb7a
commit 64ac2e423e
2 changed files with 2 additions and 2 deletions

View File

@@ -264,7 +264,7 @@ ProjectRootPath SearchForProject(SystemStringView path) {
fclose(fp);
if (readSize != 4)
continue;
static const hecl::FourCC hecl("HECL");
static constexpr hecl::FourCC hecl("HECL");
if (hecl::FourCC(magic) != hecl)
continue;
return ProjectRootPath(testPath);