Skip to content

Commit

Permalink
directory.hpp wasn't added until Boost 1.72
Browse files Browse the repository at this point in the history
Just use the old operations.hpp for older versions
of Boost.
  • Loading branch information
benmwebb committed Apr 29, 2024
1 parent 643ad76 commit 1ea0662
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmark/benchmark_rmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
*/

#include <boost/iterator/iterator_facade.hpp>
#include <boost/version.hpp>
#include <boost/filesystem/operations.hpp>
#if BOOST_VERSION >= 107200
#include <boost/filesystem/directory.hpp>
#endif
#include <exception>
#include <iostream>
#include <chrono>
Expand Down
3 changes: 3 additions & 0 deletions src/backend/deprecated_avro/MultipleAvroFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
*
*/

#include <boost/version.hpp>
#include <boost/filesystem/operations.hpp>
#if BOOST_VERSION >= 107200
#include <boost/filesystem/directory.hpp>
#endif
#include <boost/filesystem/path.hpp>
#include <boost/functional/hash/hash.hpp>
#include <boost/iterator/iterator_facade.hpp>
Expand Down

0 comments on commit 1ea0662

Please sign in to comment.