From 28c65cda512135bde36542351533941b019b6ee8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 12 Jun 2010 14:55:18 -0400 Subject: Store metadata values as value_t instead of string --- src/py_item.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/py_item.cc') 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 py_get_tag_1s(item_t& item, const string& tag) { + boost::optional py_get_tag_1s(item_t& item, const string& tag) { return item.get_tag(tag); } - boost::optional py_get_tag_1m(item_t& item, const mask_t& tag_mask) { + boost::optional py_get_tag_1m(item_t& item, const mask_t& tag_mask) { return item.get_tag(tag_mask); } - boost::optional py_get_tag_2m(item_t& item, const mask_t& tag_mask, - const boost::optional& value_mask) { + boost::optional py_get_tag_2m(item_t& item, const mask_t& tag_mask, + const boost::optional& value_mask) { return item.get_tag(tag_mask, value_mask); } -- cgit v1.2.3