Skip to content

Commit

Permalink
make environment config protected members, resolves #285
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Oct 5, 2024
1 parent ee8999c commit de5e742
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
os: macOS-13
compiler: clang

- name: macOS-14-clang
os: macOS-14
compiler: clang
# - name: macOS-14-clang
# os: macOS-14
# compiler: clang

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions include/inja/environment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ namespace inja {
* \brief Class for changing the configuration.
*/
class Environment {
LexerConfig lexer_config;
ParserConfig parser_config;
RenderConfig render_config;

FunctionStorage function_storage;
TemplateStorage template_storage;

protected:
LexerConfig lexer_config;
ParserConfig parser_config;
RenderConfig render_config;

std::string input_path;
std::string output_path;

Expand Down
8 changes: 4 additions & 4 deletions single_include/inja/inja.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2771,14 +2771,14 @@ namespace inja {
* \brief Class for changing the configuration.
*/
class Environment {
LexerConfig lexer_config;
ParserConfig parser_config;
RenderConfig render_config;

FunctionStorage function_storage;
TemplateStorage template_storage;

protected:
LexerConfig lexer_config;
ParserConfig parser_config;
RenderConfig render_config;

std::string input_path;
std::string output_path;

Expand Down

0 comments on commit de5e742

Please sign in to comment.