Skip to content

Commit

Permalink
A fix for Windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dade916 committed Jan 20, 2018
1 parent 1884d51 commit 6d5c130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/luxrays/utils/fileext.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inline std::string GetFileNamePath(const std::string &fileName) {
boost::filesystem::path path(fileName);

if (path.has_parent_path())
return boost::filesystem::path(fileName).parent_path().string() + boost::filesystem::path::preferred_separator;
return boost::filesystem::path(fileName).parent_path().string() + "/";
else
return "";
}
Expand Down

0 comments on commit 6d5c130

Please sign in to comment.