Remove some unused members of agi::Options

Originally committed to SVN as r6016.
This commit is contained in:
Thomas Goyne 2011-12-22 21:12:06 +00:00
parent 2f73b55b64
commit d7ae51a5af
2 changed files with 1 additions and 8 deletions

View File

@ -41,7 +41,7 @@
namespace agi {
Options::Options(const std::string &file, const std::string& default_config, const OptionSetting setting)
: config_file(file), config_default(default_config), config_loaded(false), setting(setting) {
: config_file(file), setting(setting) {
LOG_D("agi/options") << "New Options object";
std::istringstream stream(default_config);
LoadConfig(stream);
@ -72,7 +72,6 @@ void Options::ConfigUser() {
/// @todo Handle other errors such as parsing and notifying the user.
LoadConfig(*stream);
config_loaded = true;
}
void Options::LoadConfig(std::istream& stream) {

View File

@ -70,12 +70,6 @@ private:
/// User config (file that will be written to disk)
const std::string config_file;
/// Default config (for use when config file is/gets corrupted)
const std::string config_default;
/// Whether the user (final) config has been loaded
bool config_loaded;
/// Settings.
const OptionSetting setting;