Make DefProps constexpr.

This commit is contained in:
Stephen Anthony 2022-04-02 21:45:42 -02:30
parent 99ad1618e0
commit fc2ae0c585
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ print OUTFILE " regenerated and the application recompiled.\n";
print OUTFILE "*/\n"; print OUTFILE "*/\n";
print OUTFILE "\nstatic constexpr uInt32 DEF_PROPS_SIZE = " . $setsize . ";"; print OUTFILE "\nstatic constexpr uInt32 DEF_PROPS_SIZE = " . $setsize . ";";
print OUTFILE "\n\n"; print OUTFILE "\n\n";
print OUTFILE "static const BSPF::array2D<const char*, DEF_PROPS_SIZE, " . $typesize . "> DefProps = {{\n"; print OUTFILE "static constexpr BSPF::array2D<const char*, DEF_PROPS_SIZE, " . $typesize . "> DefProps = {{\n";
# Walk the hash map and print each item in order of md5sum # Walk the hash map and print each item in order of md5sum
my $idx = 0; my $idx = 0;