Make agi::Options's one protected member private, as agi::Option is not designed to be inherited from

Originally committed to SVN as r6011.
This commit is contained in:
Thomas Goyne 2011-12-22 21:11:21 +00:00
parent 70a291d4d4
commit a7a159288f

View file

@ -85,15 +85,12 @@ private:
/// @param config Config to load.
void LoadConfig(std::istream& stream);
protected:
/// @brief Write an option to file.
/// @param[out] obj Parent object
/// @param[in] path Path option should be stored in.
/// @param[in] value Value to write.
static bool PutOption(::json::Object &obj, const std::string &path, const ::json::UnknownElement &value);
public:
/// @brief Constructor
/// @param file User config that will be loaded from and written back to.