Skip to content

Commit

Permalink
Fixes smesh doesn't compile with boost 1.85
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer authored and realthunder committed Oct 3, 2024
1 parent 5a84e3d commit 1c9a2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3rdParty/salomesmesh/src/SMESH/DriverGMF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down

0 comments on commit 1c9a2f2

Please sign in to comment.