mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task: Support setting 64-bit integer values
Thanks to Stephan Rieche.
This commit is contained in:
parent
3964e7f3de
commit
9ed047d46d
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 4ff753b3889b0287322df5f92e4d71d5f2b7190e
|
||||
Subproject commit 78e515ae2905045916e778b981f772b52a9c59ca
|
Loading…
Add table
Add a link
Reference in a new issue