Update test.cpp (#12)

This commit is contained in:
Lars Melchior
2019-04-14 11:29:07 +02:00
committed by GitHub
parent 4dee712eef
commit 77a118d3ce

View File

@@ -18,8 +18,6 @@ int main() {
g["Number" ] << "'-'? [0-9]+ ('.' [0-9]+)?" >> [](auto e){ return stof(e.string()); };
g.setStart(g["Sum"]);
// Execute a string
// create an event
lars::Event<float> onResult;
onResult.connect([&](float v){ result = !(int(v) == 5); });