Pārlūkot izejas kodu

Fixed OS X compilation

stopiccot 12 gadi atpakaļ
vecāks
revīzija
277eb13cb4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/VCMIDirs.cpp

+ 1 - 1
lib/VCMIDirs.cpp

@@ -67,7 +67,7 @@ std::string VCMIDirs::localPath() const
 	if (getenv("HOME") != NULL )
 		home_dir = getenv("HOME");
 
-	return path(home_dir + "/Library/Application Support/vcmi").string();
+	return boost::filesystem::path(home_dir + "/Library/Application Support/vcmi").string();
 }
 
 std::string VCMIDirs::libraryPath() const