Add const restrictions.

This commit is contained in:
Arthur Britto
2012-06-06 01:25:00 -07:00
parent 7d153490ab
commit e204a7dc3d
4 changed files with 14 additions and 11 deletions

View File

@@ -7,10 +7,10 @@
typedef std::map<const std::string, std::vector<std::string> > section;
section ParseSection(const std::string strInput, const bool bTrim);
section ParseSection(const std::string& strInput, const bool bTrim);
void PrintSection(section secInput);
bool sectionSingleB(section& secSource, const std::string strSection, std::string& strValue);
int sectionCount(section& secSource, std::string strSection);
section::mapped_type* sectionEntries(section& secSource, const std::string strSection);
bool sectionSingleB(section& secSource, const std::string& strSection, std::string& strValue);
int sectionCount(section& secSource, const std::string& strSection);
section::mapped_type* sectionEntries(section& secSource, const std::string& strSection);
#endif