From 6d5c130a1a28447adb9ae5a10afd9b183edd6360 Mon Sep 17 00:00:00 2001 From: David Bucciarelli Date: Sat, 20 Jan 2018 18:52:06 +0100 Subject: [PATCH] A fix for Windows compilation --- include/luxrays/utils/fileext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/luxrays/utils/fileext.h b/include/luxrays/utils/fileext.h index 57bcf32e3..eedb6536f 100644 --- a/include/luxrays/utils/fileext.h +++ b/include/luxrays/utils/fileext.h @@ -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 ""; }