Task: Support setting 64-bit integer values
Thanks to Stephan Rieche.
This commit is contained in:
@@ -278,7 +278,7 @@ void Task::set (const std::string& name, const std::string& value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Task::set (const std::string& name, int value)
|
void Task::set (const std::string& name, long long value)
|
||||||
{
|
{
|
||||||
data[name] = format (value);
|
data[name] = format (value);
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ public:
|
|||||||
float get_float (const std::string&) const;
|
float get_float (const std::string&) const;
|
||||||
time_t get_date (const std::string&) const;
|
time_t get_date (const std::string&) const;
|
||||||
void set (const std::string&, const std::string&);
|
void set (const std::string&, const std::string&);
|
||||||
void set (const std::string&, int);
|
void set (const std::string&, long long);
|
||||||
void remove (const std::string&);
|
void remove (const std::string&);
|
||||||
|
|
||||||
#ifdef PRODUCT_TASKWARRIOR
|
#ifdef PRODUCT_TASKWARRIOR
|
||||||
|
|||||||
Submodule src/libshared updated: 4ff753b388...78e515ae29
Reference in New Issue
Block a user