return by value
This commit is contained in:
parent
2a2fb7437b
commit
d1401b9e07
1 changed files with 1 additions and 1 deletions
|
@ -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_);
|
||||
|
|
Loading…
Reference in a new issue