make environment config protected members, resolves #285

This commit is contained in:
pantor
2024-10-05 09:49:19 +02:00
parent ee8999c127
commit de5e742654
3 changed files with 11 additions and 11 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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;