mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 13:48:33 +02:00
RX
- Removed mystery define that has been commented out for three years. - Added explanatory comments.
This commit is contained in:
parent
5b7e6df00b
commit
5987594596
2 changed files with 1 additions and 3 deletions
|
@ -254,7 +254,7 @@ bool DOM::get (const std::string& name, const Task& task, Variant& value)
|
||||||
value = Variant ((time_t) Duration (task.get (canonical)), Variant::type_duration);
|
value = Variant ((time_t) Duration (task.get (canonical)), Variant::type_duration);
|
||||||
else if (column->type () == "numeric")
|
else if (column->type () == "numeric")
|
||||||
value = Variant (task.get_float (canonical));
|
value = Variant (task.get_float (canonical));
|
||||||
else
|
else // string
|
||||||
value = Variant (task.get (canonical));
|
value = Variant (task.get (canonical));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -29,8 +29,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <RX.h>
|
#include <RX.h>
|
||||||
|
|
||||||
//#define _POSIX_C_SOURCE 1 // Forgot why this is here. Moving on...
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
RX::RX ()
|
RX::RX ()
|
||||||
: _compiled (false)
|
: _compiled (false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue