1
0
mirror of https://github.com/benhoyt/inih.git synced 2025-01-28 22:52:54 +08:00

INIReader: change variable visibility from private to protected (#165)

This allows for full feature inheritance.
This commit is contained in:
Marco Meyer-Conde 2024-04-06 11:47:29 +09:00 committed by GitHub
parent 5cc5e2c246
commit ec8539d519
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,7 @@ public:
// Return true if a value exists with the given section and field names.
INI_API bool HasValue(const std::string& section, const std::string& name) const;
private:
protected:
int _error;
std::map<std::string, std::string> _values;
static std::string MakeKey(const std::string& section, const std::string& name);