Adds support for Boost.Filesystem v3, the only option in Boost 1.50. Fixes #1527. Refs #1360

This was SVN commit r12229.
This commit is contained in:
historic_bruno
2012-07-29 23:04:22 +00:00
parent 0f5756f5fb
commit 2c8adb1aea
6 changed files with 31 additions and 9 deletions
+9
View File
@@ -95,6 +95,15 @@ Status ReloadChangedFiles()
return INFO::OK;
}
std::wstring GetWstringFromWpath(const fs::wpath& path)
{
#if BOOST_FILESYSTEM_VERSION == 3
return path.wstring();
#else
return path.string();
#endif
}
CVFSFile::CVFSFile()
: m_BufferSize(0)