From de5e742654eecd11a9acf92aeb4a31827d61c9a8 Mon Sep 17 00:00:00 2001 From: pantor Date: Sat, 5 Oct 2024 09:49:19 +0200 Subject: [PATCH] make environment config protected members, resolves #285 --- .github/workflows/ci.yml | 6 +++--- include/inja/environment.hpp | 8 ++++---- single_include/inja/inja.hpp | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a84d327a..7f937041 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/include/inja/environment.hpp b/include/inja/environment.hpp index f976f837..239dd399 100644 --- a/include/inja/environment.hpp +++ b/include/inja/environment.hpp @@ -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; diff --git a/single_include/inja/inja.hpp b/single_include/inja/inja.hpp index c21db739..b751d6d8 100644 --- a/single_include/inja/inja.hpp +++ b/single_include/inja/inja.hpp @@ -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;