use phosg namespace

This commit is contained in:
Martin Michelsen
2024-07-28 11:54:41 -07:00
parent 5523388ad4
commit 1bfbf09891
116 changed files with 2969 additions and 3088 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ const char* name_for_section_id(uint8_t section_id) {
}
uint8_t section_id_for_name(const string& name) {
string lower_name = tolower(name);
string lower_name = phosg::tolower(name);
try {
return name_to_section_id.at(lower_name);
} catch (const out_of_range&) {
@@ -690,7 +690,7 @@ uint8_t floor_for_name(const std::string& name) {
{"saintmillion", 0x09},
{"purgatory", 0x0A},
});
return floors.at(tolower(name));
return floors.at(phosg::tolower(name));
}
static const array<const char*, 0x12> ep1_floor_names = {