mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-12 16:05:52 +00:00
hecl/FourCC: Make use of constexpr constructors where applicable
This commit is contained in:
parent
9e7661eb7a
commit
64ac2e423e
@ -17,7 +17,7 @@
|
|||||||
namespace hecl::Database {
|
namespace hecl::Database {
|
||||||
|
|
||||||
logvisor::Module LogModule("hecl::Database");
|
logvisor::Module LogModule("hecl::Database");
|
||||||
static const hecl::FourCC HECLfcc("HECL");
|
constexpr hecl::FourCC HECLfcc("HECL");
|
||||||
|
|
||||||
/**********************************************
|
/**********************************************
|
||||||
* Project::ConfigFile
|
* Project::ConfigFile
|
||||||
|
@ -264,7 +264,7 @@ ProjectRootPath SearchForProject(SystemStringView path) {
|
|||||||
fclose(fp);
|
fclose(fp);
|
||||||
if (readSize != 4)
|
if (readSize != 4)
|
||||||
continue;
|
continue;
|
||||||
static const hecl::FourCC hecl("HECL");
|
static constexpr hecl::FourCC hecl("HECL");
|
||||||
if (hecl::FourCC(magic) != hecl)
|
if (hecl::FourCC(magic) != hecl)
|
||||||
continue;
|
continue;
|
||||||
return ProjectRootPath(testPath);
|
return ProjectRootPath(testPath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user