diff options
Diffstat (limited to 'src/py_item.cc')
-rw-r--r-- | src/py_item.cc | 8 |
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); } |