+ small optimization - pass and return const ref
This commit is contained in:
parent
4915bf138e
commit
b086e2d20c
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ struct evaluate : boost::static_visitor<T1>
|
|||
explicit evaluate(feature_type const& f)
|
||||
: feature_(f) {}
|
||||
|
||||
value_type operator() (value_type x) const
|
||||
value_type const& operator() (value_type const& x) const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue