return by value

This commit is contained in:
Artem Pavlenko 2011-10-27 20:58:33 +01:00
parent 1819034484
commit 5ad3ec92e6

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_);