mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-21 01:47:28 -05:00
Update test.cpp (#12)
This commit is contained in:
@@ -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); });
|
||||
|
||||
Reference in New Issue
Block a user