Merge pull request #13570 from wwmayer/issue_13549

Fixes #13549: smesh doesn't compile with boost 1.85
This commit is contained in:
sliptonic
2024-04-22 11:18:38 -05:00
committed by GitHub

View File

@@ -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" );