Pass std::string references to RPN functions

This commit is contained in:
Rangi42
2024-03-18 13:45:59 -04:00
committed by Sylvie
parent e96675be03
commit 05d79d87f6
5 changed files with 18 additions and 18 deletions

View File

@@ -54,7 +54,7 @@ extern std::deque<Section> sectionList;
extern std::unordered_map<std::string, size_t> sectionMap; // Indexes into `sectionList`
extern Section *currentSection;
Section *sect_FindSectionByName(char const *name);
Section *sect_FindSectionByName(std::string const &name);
void sect_NewSection(
std::string const &name,
SectionType type,