Skip to content

Commit

Permalink
change default path to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Apr 7, 2019
1 parent 67699c2 commit 85cc5ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/inja/environment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Environment {
std::unique_ptr<Impl> m_impl;

public:
Environment(): Environment("./") { }
Environment(): Environment("") { }

explicit Environment(const std::string& global_path): m_impl(stdinja::make_unique<Impl>()) {
m_impl->input_path = global_path;
Expand Down
2 changes: 1 addition & 1 deletion single_include/inja/inja.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3197,7 +3197,7 @@ class Environment {
std::unique_ptr<Impl> m_impl;

public:
Environment(): Environment("./") { }
Environment(): Environment("") { }

explicit Environment(const std::string& global_path): m_impl(stdinja::make_unique<Impl>()) {
m_impl->input_path = global_path;
Expand Down

0 comments on commit 85cc5ec

Please sign in to comment.