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
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
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); data[name] = format (value);

View file

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

@ -1 +1 @@
Subproject commit 4ff753b3889b0287322df5f92e4d71d5f2b7190e Subproject commit 78e515ae2905045916e778b981f772b52a9c59ca