return by value
This commit is contained in:
parent
1819034484
commit
5ad3ec92e6
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ struct attribute
|
||||||
: name_(name) {}
|
: name_(name) {}
|
||||||
|
|
||||||
template <typename V ,typename F>
|
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;
|
typedef typename F::const_iterator const_iterator;
|
||||||
const_iterator itr = f.find(name_);
|
const_iterator itr = f.find(name_);
|
||||||
|
|
Loading…
Reference in a new issue