mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Columns
- Removed ColUDA::is_uda override, because it was wrong. Now in the base class a member variable is referenced.
This commit is contained in:
parent
2aa224d278
commit
8d10d81198
5 changed files with 19 additions and 15 deletions
|
@ -209,6 +209,7 @@ Column::Column ()
|
|||
, _label ("")
|
||||
, _report ("")
|
||||
, _modifiable (true)
|
||||
, _uda (false)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -221,6 +222,7 @@ Column::Column (const Column& other)
|
|||
_label = other._label;
|
||||
_label = other._report;
|
||||
_modifiable = other._modifiable;
|
||||
_uda = other._uda;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -234,6 +236,7 @@ Column& Column::operator= (const Column& other)
|
|||
_label = other._label;
|
||||
_report = other._report;
|
||||
_modifiable = other._modifiable;
|
||||
_uda = other._uda;
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
@ -242,12 +245,13 @@ Column& Column::operator= (const Column& other)
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Column::operator== (const Column& other) const
|
||||
{
|
||||
return _name == other._name &&
|
||||
_type == other._type &&
|
||||
_style == other._style &&
|
||||
_label == other._label &&
|
||||
_report == other._report &&
|
||||
_modifiable == other._modifiable;
|
||||
return _name == other._name &&
|
||||
_type == other._type &&
|
||||
_style == other._style &&
|
||||
_label == other._label &&
|
||||
_report == other._report &&
|
||||
_modifiable == other._modifiable &&
|
||||
_uda == other._uda;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue