mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
A3
- Removed obsolete _read_only_command member.
This commit is contained in:
parent
562beac12b
commit
87a48ab7f5
2 changed files with 0 additions and 8 deletions
|
@ -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>
|
||||
|
|
3
src/A3.h
3
src/A3.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue