diff options
Diffstat (limited to 'src/py_post.cc')
-rw-r--r-- | src/py_post.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/py_post.cc b/src/py_post.cc index 930a46c9..537289b3 100644 --- a/src/py_post.cc +++ b/src/py_post.cc @@ -52,14 +52,14 @@ namespace { return post.has_tag(tag_mask, value_mask); } - boost::optional<string> py_get_tag_1s(post_t& post, const string& tag) { + boost::optional<value_t> py_get_tag_1s(post_t& post, const string& tag) { return post.get_tag(tag); } - boost::optional<string> py_get_tag_1m(post_t& post, const mask_t& tag_mask) { + boost::optional<value_t> py_get_tag_1m(post_t& post, const mask_t& tag_mask) { return post.get_tag(tag_mask); } - boost::optional<string> py_get_tag_2m(post_t& post, const mask_t& tag_mask, - const boost::optional<mask_t>& value_mask) { + boost::optional<value_t> py_get_tag_2m(post_t& post, const mask_t& tag_mask, + const boost::optional<mask_t>& value_mask) { return post.get_tag(tag_mask, value_mask); } |