diff --git a/cheatsheet.md b/cheatsheet.md index 80d4b3a8..5e712d4e 100644 --- a/cheatsheet.md +++ b/cheatsheet.md @@ -66,7 +66,7 @@ chai.add(chaiscript::fun(static_cast(&Derived::data)), "data"); ``` chai.add( - chaiscript::fun( + chaiscript::fun>( [](bool type) { if (type) { return "x"; } else { return "y"; }