Skip to content

Commit

Permalink
Fix filesystem_error usage with Boost 1.85
Browse files Browse the repository at this point in the history
boost::filesystem::filesystem_error is no longer
defined in operations.hpp, but in exception.hpp,
as of Boost 1.85, so include both headers to be
sure we get it.
  • Loading branch information
benmwebb committed Apr 29, 2024
1 parent cdaa5f2 commit b3a5ae8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/kernel/src/internal/directories.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#endif
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/exception.hpp>

#include <cstdlib>

Expand Down

0 comments on commit b3a5ae8

Please sign in to comment.