summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-12 14:55:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-12 14:55:18 -0400
commit28c65cda512135bde36542351533941b019b6ee8 (patch)
treea321ec72cc0aff1a90dabe8ab07500afb1599fac /src/post.h
parenta1fc3c5cfe2ff1fa01c488d4e130b6592be1f111 (diff)
downloadfork-ledger-28c65cda512135bde36542351533941b019b6ee8.tar.gz
fork-ledger-28c65cda512135bde36542351533941b019b6ee8.tar.bz2
fork-ledger-28c65cda512135bde36542351533941b019b6ee8.zip
Store metadata values as value_t instead of string
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post.h b/src/post.h
index a43e6cd9..aec81e89 100644
--- a/src/post.h
+++ b/src/post.h
@@ -103,9 +103,9 @@ public:
virtual bool has_tag(const mask_t& tag_mask,
const optional<mask_t>& value_mask = none) const;
- virtual optional<string> get_tag(const string& tag) const;
- virtual optional<string> get_tag(const mask_t& tag_mask,
- const optional<mask_t>& value_mask = none) const;
+ virtual optional<value_t> get_tag(const string& tag) const;
+ virtual optional<value_t> get_tag(const mask_t& tag_mask,
+ const optional<mask_t>& value_mask = none) const;
virtual date_t value_date() const;
virtual date_t date() const;