mirror of
https://github.com/pantor/inja.git
synced 2026-04-03 14:48:51 +00:00
make environment paths protected
This commit is contained in:
@@ -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("") {}
|
||||
|
||||
|
||||
@@ -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("") {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user