Merge pull request #13570 from wwmayer/issue_13549
Fixes #13549: smesh doesn't compile with boost 1.85
This commit is contained in:
@@ -55,7 +55,7 @@ namespace DriverGMF
|
||||
|
||||
bool isExtensionCorrect( const std::string& fileName )
|
||||
{
|
||||
std::string ext = boost::filesystem::extension(fileName);
|
||||
std::string ext = boost::filesystem::path(fileName).extension().string();
|
||||
switch ( ext.size() ) {
|
||||
case 5: return ( ext == ".mesh" || ext == ".solb" );
|
||||
case 6: return ( ext == ".meshb" );
|
||||
|
||||
Reference in New Issue
Block a user