From ec8539d519cc40eec4b2ee58419dca4a68447918 Mon Sep 17 00:00:00 2001 From: Marco Meyer-Conde <37673095+xkzl@users.noreply.github.com> Date: Sat, 6 Apr 2024 11:47:29 +0900 Subject: [PATCH] INIReader: change variable visibility from private to protected (#165) This allows for full feature inheritance. --- cpp/INIReader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/INIReader.h b/cpp/INIReader.h index 45e3fcd..7975ab5 100644 --- a/cpp/INIReader.h +++ b/cpp/INIReader.h @@ -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 _values; static std::string MakeKey(const std::string& section, const std::string& name);