Fixes #13549: smesh doesn't compile with boost 1.85

This commit is contained in:
wmayer
2024-04-21 08:36:16 +02:00
parent 90a9020ed4
commit f555a25f9e

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