Skip to content

Commit

Permalink
INIReader: change variable visibility from private to protected (#165)
Browse files Browse the repository at this point in the history
This allows for full feature inheritance.
  • Loading branch information
meiyasan authored Apr 6, 2024
1 parent 5cc5e2c commit ec8539d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/INIReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class INIReader
// 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);
Expand Down

0 comments on commit ec8539d

Please sign in to comment.