return by value

This commit is contained in:
Artem Pavlenko 2011-10-27 20:58:33 +01:00
parent 8559f1ac86
commit 765a96c29d

View file

@ -39,7 +39,7 @@ struct attribute
: name_(name) {}
template <typename V ,typename F>
V const& value(F const& f) const
V value(F const& f) const
{
typedef typename F::const_iterator const_iterator;
const_iterator itr = f.find(name_);