X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbooleanevaluator.cpp;h=b7c399f9cbc97c58384f0a732c8a6bf1accdc797;hb=eeb32cca939697d04254f84b81b68d9b1b14951d;hp=58a6fcf1a682b53aa0c6ef54627a9f7729f7eecd;hpb=d10be3251b2b6605723c6c753a4c9a9ba35c9950;p=builder.git diff --git a/source/booleanevaluator.cpp b/source/booleanevaluator.cpp index 58a6fcf..b7c399f 100644 --- a/source/booleanevaluator.cpp +++ b/source/booleanevaluator.cpp @@ -6,7 +6,7 @@ using namespace std; 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); }), ops("&|!") { }