mirror of
https://github.com/pantor/inja.git
synced 2026-10-14 16:27:12 +00:00
make renderer private in env
This commit is contained in:
1 parent
e522903440
commit
2ae161b4bd
2 files changed
+3
-5
No files matched your search
+1
-3
@@ -865,11 +865,9 @@ class Environment {
|
||||
const std::string output_path;
|
||||
|
||||
Parser parser = Parser();
|
||||
|
||||
public:
|
||||
Renderer renderer = Renderer();
|
||||
|
||||
|
||||
public:
|
||||
Environment(): Environment("./") { }
|
||||
explicit Environment(const std::string& global_path): input_path(global_path), output_path(global_path), parser() { }
|
||||
explicit Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path), parser() { }
|
||||
|
||||
Reference in new issue
Block a user