summaryrefslogtreecommitdiff
path: root/src/py_item.cc
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/py_item.cc
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/py_item.cc')
-rw-r--r--src/py_item.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/py_item.cc b/src/py_item.cc
index 65d89119..0e95f24f 100644
--- a/src/py_item.cc
+++ b/src/py_item.cc
@@ -53,14 +53,14 @@ namespace {
return item.has_tag(tag_mask, value_mask);
}
- boost::optional<string> py_get_tag_1s(item_t& item, const string& tag) {
+ boost::optional<value_t> py_get_tag_1s(item_t& item, const string& tag) {
return item.get_tag(tag);
}
- boost::optional<string> py_get_tag_1m(item_t& item, const mask_t& tag_mask) {
+ boost::optional<value_t> py_get_tag_1m(item_t& item, const mask_t& tag_mask) {
return item.get_tag(tag_mask);
}
- boost::optional<string> py_get_tag_2m(item_t& item, const mask_t& tag_mask,
- const boost::optional<mask_t>& value_mask) {
+ boost::optional<value_t> py_get_tag_2m(item_t& item, const mask_t& tag_mask,
+ const boost::optional<mask_t>& value_mask) {
return item.get_tag(tag_mask, value_mask);
}