fix string view reference movement in bytecode

This commit is contained in:
Lars Berscheid committed 2019-01-07 16:41:16 +01:00
1 parent 699c207c8c
commit a9d4ca9a4e
8 files changed
+49 -54

No files matched your search

+2 -2
View File
@@ -82,10 +82,10 @@ The environment class can be configured to your needs.
Environment env_default;
// With global path to template files and where files will be saved
Environment env_1 = Environment("../path/templates/");
Environment env_1 {"../path/templates/"};
// With separate input and output path
Environment env_2 = Environment("../path/templates/", "../path/results/");
Environment env_2 {"../path/templates/", "../path/results/"};
// Choose between dot notation (like Jinja2) and JSON pointer to access elements
env.set_element_notation(ElementNotation::Dot); // (default) e.g. time.start