mirror of
https://github.com/pantor/inja.git
synced 2026-06-25 12:04:18 +00:00
update to json 3.2 and catch 2.3, clean cmake
This commit is contained in:
+1013
-450
File diff suppressed because it is too large
Load Diff
@@ -257,7 +257,7 @@ TEST_CASE("callbacks") {
|
||||
return number1 * number2 * number3;
|
||||
});
|
||||
|
||||
env.add_callback("multiply", 0, [&env](inja::Parsed::Arguments args, json data) {
|
||||
env.add_callback("multiply", 0, [](inja::Parsed::Arguments args, json data) {
|
||||
return 1.0;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user