A3
- Removed obsolete _read_only_command member.
This commit is contained in:
@@ -118,7 +118,6 @@ const int safetyValveDefault = 10;
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
A3::A3 ()
|
A3::A3 ()
|
||||||
: _read_only_command (true)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,15 +125,12 @@ A3::A3 ()
|
|||||||
A3::A3 (const A3& other)
|
A3::A3 (const A3& other)
|
||||||
{
|
{
|
||||||
std::vector <Arg>::operator= (other);
|
std::vector <Arg>::operator= (other);
|
||||||
_read_only_command = other._read_only_command;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
A3& A3::operator= (const A3& other)
|
A3& A3::operator= (const A3& other)
|
||||||
{
|
{
|
||||||
std::vector <Arg>::operator= (other);
|
std::vector <Arg>::operator= (other);
|
||||||
_read_only_command = other._read_only_command;
|
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -237,7 +233,6 @@ void A3::categorize ()
|
|||||||
{
|
{
|
||||||
found_command = true;
|
found_command = true;
|
||||||
arg->_category = Arg::cat_command;
|
arg->_category = Arg::cat_command;
|
||||||
_read_only_command = context.commands[arg->_raw]->read_only ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rc:<file>
|
// rc:<file>
|
||||||
|
|||||||
3
src/A3.h
3
src/A3.h
@@ -94,9 +94,6 @@ public:
|
|||||||
static bool which_operator (const std::string&, char&, int&, char&);
|
static bool which_operator (const std::string&, char&, int&, char&);
|
||||||
|
|
||||||
void dump (const std::string&) const;
|
void dump (const std::string&) const;
|
||||||
|
|
||||||
private:
|
|
||||||
bool _read_only_command;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user