Fix compilation errors for OSX.

This commit is contained in:
kalbl
2016-03-30 15:20:20 -04:00
parent 2ca5d52fa3
commit 86debebdd9
3 changed files with 10 additions and 9 deletions

View File

@@ -225,7 +225,7 @@ std::vector<DownloadManager::FileFuture*> DownloadManager::downloadRequestFiles(
++nFiles;
#ifdef __APPLE__
// @TODO: Fix this so that the ifdef is not necessary anymore ---abock
std::string file = ghoul::filesystem::File(line, true).filename();
std::string file = ghoul::filesystem::File(line, ghoul::filesystem::File::RawPath::Yes).filename();
#else
std::string file = ghoul::filesystem::File(line).filename();
#endif