From a6a40818940e5c4a8d2867efd6de9f002600f43f Mon Sep 17 00:00:00 2001 From: Raul Tambre Date: Fri, 26 Feb 2016 16:22:57 +0200 Subject: [PATCH] Fix directory opening on Linux systems --- Utilities/File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/File.cpp b/Utilities/File.cpp index e9cbc3a8af..9d3d4571e3 100644 --- a/Utilities/File.cpp +++ b/Utilities/File.cpp @@ -856,7 +856,7 @@ bool fs::dir::open(const std::string& dirname) m_dd = -1; #else - const auto ptr = ::opendir(m_path.get()); + const auto ptr = ::opendir(dirname.c_str()); if (!ptr) { return false;