mirror of
https://github.com/pantor/inja.git
synced 2026-10-17 17:28:14 +00:00
update to json 3.2 and catch 2.3, clean cmake
This commit is contained in:
1 parent
32ca238c23
commit
a496ec9585
7 files changed
+4061
-1774
No files matched your search
+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