Fix the separators
This commit is contained in:
parent
729611cc16
commit
d63cb0943f
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ void CreateDirectory(std::string output_path)
|
|||
// Creating the right directory structure
|
||||
auto p = path(output_path);
|
||||
|
||||
// Deal with a case where directory ends with a / or \\
|
||||
p.remove_trailing_separator();
|
||||
// Deal with a case where directory ends with a \\ or /
|
||||
p = p.remove_trailing_separator();
|
||||
|
||||
if (!boost::filesystem::exists(p))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue