CLI2: Removed unused ::applyOverrides method

This commit is contained in:
Paul Beckingham 2015-06-20 09:29:54 -07:00
parent 17f4b50aa7
commit e8a9e5bc32
2 changed files with 0 additions and 18 deletions

View file

@ -493,23 +493,6 @@ void CLI2::addRawFilter (const std::string& arg)
add (lexeme);
}
////////////////////////////////////////////////////////////////////////////////
// Scan arguments, looking for any tagged CONFIG, in which case extract the name
// and value, applying it to context.config.
void CLI2::applyOverrides ()
{
for (auto& a : _args)
{
if (a.hasTag ("CONFIG"))
{
std::string name = a.attribute ("name");
std::string value = a.attribute ("value");
context.config.set (name, value);
context.footnote (format (STRING_PARSER_OVERRIDE_RC, name, value));
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Extract all the FILTER-tagged items.
const std::string CLI2::getFilter (bool applyContext)

View file

@ -84,7 +84,6 @@ public:
/*
void addContextFilter ();
void addRawFilter (const std::string& arg);
void applyOverrides ();
const std::string getFilter (bool applyContext = true);
*/
void prepareFilter (bool applyContext = true);