Get numbers in Easy::Tag::History::accounts() and ::use().

We were trying to get strings before.
This commit is contained in:
tastytea 2019-08-12 05:48:26 +02:00
parent 2a7d02fba8
commit f159f0c391
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ bool Tag::History::valid() const
uint64_t Tag::History::accounts() const
{
return stouint64(get_string("accounts"));
return get_uint64("accounts");
}
const Easy::time_type Tag::History::day() const
@ -91,5 +91,5 @@ const Easy::time_type Tag::History::day() const
uint64_t Tag::History::uses() const
{
return stouint64(get_string("uses"));
return get_uint64("uses");
}