- Removed obsolete _read_only_command member.
This commit is contained in:
Paul Beckingham 2014-05-25 09:06:49 -04:00
parent 562beac12b
commit 87a48ab7f5
2 changed files with 0 additions and 8 deletions

View file

@ -118,7 +118,6 @@ const int safetyValveDefault = 10;
////////////////////////////////////////////////////////////////////////////////
A3::A3 ()
: _read_only_command (true)
{
}
@ -126,15 +125,12 @@ A3::A3 ()
A3::A3 (const A3& other)
{
std::vector <Arg>::operator= (other);
_read_only_command = other._read_only_command;
}
////////////////////////////////////////////////////////////////////////////////
A3& A3::operator= (const A3& other)
{
std::vector <Arg>::operator= (other);
_read_only_command = other._read_only_command;
return *this;
}
@ -237,7 +233,6 @@ void A3::categorize ()
{
found_command = true;
arg->_category = Arg::cat_command;
_read_only_command = context.commands[arg->_raw]->read_only ();
}
// rc:<file>

View file

@ -94,9 +94,6 @@ public:
static bool which_operator (const std::string&, char&, int&, char&);
void dump (const std::string&) const;
private:
bool _read_only_command;
};
#endif