RX
- Removed mystery define that has been commented out for three years. - Added explanatory comments.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user