Skip to content

Commit

Permalink
Fix build error in LogPlay.cc as well
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed May 10, 2024
1 parent 6b4d0f0 commit 27c2277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gazebo/util/LogPlay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ common::Time LogPlay::LogEndTime() const
/////////////////////////////////////////////////
std::string LogPlay::Filename() const
{
return boost::filesystem::basename(this->dataPtr->filename) +
boost::filesystem::extension(this->dataPtr->filename);
boost::filesystem::path path(this->dataPtr->filename);
return path.stem().string() + path.extension().string();
}

/////////////////////////////////////////////////
Expand Down

0 comments on commit 27c2277

Please sign in to comment.