diff --git a/include/inja/environment.hpp b/include/inja/environment.hpp index 9aa52ee..86db816 100644 --- a/include/inja/environment.hpp +++ b/include/inja/environment.hpp @@ -21,9 +21,6 @@ namespace inja { * \brief Class for changing the configuration. */ class Environment { - std::string input_path; - std::string output_path; - LexerConfig lexer_config; ParserConfig parser_config; RenderConfig render_config; @@ -31,6 +28,10 @@ class Environment { FunctionStorage function_storage; TemplateStorage template_storage; +protected: + std::string input_path; + std::string output_path; + public: Environment(): Environment("") {} diff --git a/single_include/inja/inja.hpp b/single_include/inja/inja.hpp index 5b46974..c64405a 100644 --- a/single_include/inja/inja.hpp +++ b/single_include/inja/inja.hpp @@ -2723,9 +2723,6 @@ namespace inja { * \brief Class for changing the configuration. */ class Environment { - std::string input_path; - std::string output_path; - LexerConfig lexer_config; ParserConfig parser_config; RenderConfig render_config; @@ -2733,6 +2730,10 @@ class Environment { FunctionStorage function_storage; TemplateStorage template_storage; +protected: + std::string input_path; + std::string output_path; + public: Environment(): Environment("") {}