Try to fix Windows build.
authorCarl Hetherington <cth@carlh.net>
Thu, 30 Apr 2015 21:41:27 +0000 (22:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 30 Apr 2015 21:41:27 +0000 (22:41 +0100)
src/lib/cross.cc

index 7f95d1f71885fd07f172d53ddc3c1e928335005e..9894d885f1cea6e0c7a3a7e8f7d9d02a66d8b735 100644 (file)
@@ -161,7 +161,8 @@ shared_path ()
        wchar_t dir[512];
        GetModuleFileName (GetModuleHandle (0), dir, sizeof (dir));
        PathRemoveFileSpec (dir);
-       return dir.parent_path();
+       boost::filesystem::path path = dir;
+       return path.parent_path();
 #endif
 #ifdef DCPOMATIC_OSX
        return app_contents();