mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Code Cleanup
- Obsoleted Filter.{h,cpp}. - Obsoleted Sequence.{h,cpp}. - Eliminated Context::autoFilter. - Stubbed Expression::eval.
This commit is contained in:
parent
6b85669812
commit
f971fcd110
28 changed files with 148 additions and 616 deletions
|
@ -343,13 +343,12 @@ Variant& Variant::operator- (const Variant& other)
|
|||
break;
|
||||
|
||||
case v_date:
|
||||
// TODO operator-= only takes integers.
|
||||
//mDate -= other.mDate;
|
||||
mDuration = Duration (mDate - other.mDate);
|
||||
mType = v_duration;
|
||||
break;
|
||||
|
||||
case v_duration:
|
||||
// TODO Missing operator -=
|
||||
//mDuration -= other.mDuration;
|
||||
mDuration = mDuration - other.mDuration;
|
||||
break;
|
||||
|
||||
case v_unknown:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue