Task: Support setting 64-bit integer values

Thanks to Stephan Rieche.
This commit is contained in:
Tomas Babej
2020-12-27 21:29:10 -05:00
parent 3964e7f3de
commit 9ed047d46d
3 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -97,7 +97,7 @@ public:
float get_float (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&, int);
void set (const std::string&, long long);
void remove (const std::string&);
#ifdef PRODUCT_TASKWARRIOR