build: boost: Drop branches requiring boost-1.46
This commit is contained in:
@@ -1713,7 +1713,7 @@ void Application::init(int argc, char ** argv)
|
||||
#endif
|
||||
initTypes();
|
||||
|
||||
#if (BOOST_VERSION < 104600) || (BOOST_FILESYSTEM_VERSION == 2)
|
||||
#if (BOOST_FILESYSTEM_VERSION == 2)
|
||||
boost::filesystem::path::default_name_check(boost::filesystem::no_check);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -203,7 +203,7 @@ void PropertyPath::setValue(const boost::filesystem::path &Path)
|
||||
void PropertyPath::setValue(const char * Path)
|
||||
{
|
||||
aboutToSetValue();
|
||||
#if (BOOST_VERSION < 104600) || (BOOST_FILESYSTEM_VERSION == 2)
|
||||
#if (BOOST_FILESYSTEM_VERSION == 2)
|
||||
_cValue = boost::filesystem::path(Path,boost::filesystem::no_check );
|
||||
//_cValue = boost::filesystem::path(Path,boost::filesystem::native );
|
||||
//_cValue = boost::filesystem::path(Path,boost::filesystem::windows_name );
|
||||
@@ -220,7 +220,7 @@ boost::filesystem::path PropertyPath::getValue(void) const
|
||||
|
||||
PyObject *PropertyPath::getPyObject(void)
|
||||
{
|
||||
#if (BOOST_VERSION < 104600) || (BOOST_FILESYSTEM_VERSION == 2)
|
||||
#if (BOOST_FILESYSTEM_VERSION == 2)
|
||||
std::string str = _cValue.native_file_string();
|
||||
#else
|
||||
std::string str = _cValue.string();
|
||||
|
||||
Reference in New Issue
Block a user