summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d10be32)
Otherwise it will go out of scope if a temporary is passed.
using namespace Msp;
BooleanEvaluator::BooleanEvaluator(const ValueFunction &f):
using namespace Msp;
BooleanEvaluator::BooleanEvaluator(const ValueFunction &f):
- func([&f](const string &value, const string *){ return f(value); }),
+ func([f](const string &value, const string *){ return f(value); }),