Skip to content

Commit

Permalink
fix: boost progress include fails on next boost major release (#3896)
Browse files Browse the repository at this point in the history
Fix for the rare case, that boost will make a major release.
  • Loading branch information
AJPfleger authored Nov 24, 2024
1 parent 195dca3 commit f17f640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/Scripts/MaterialMapping/MaterialComposition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <nlohmann/json.hpp>

#define BOOST_AVAILABLE 1
#if ((BOOST_VERSION / 100) % 1000) <= 71
#if BOOST_VERSION < 107200
// Boost <=1.71 and lower do not have progress_display.hpp as a replacement yet
#include <boost/progress.hpp>

Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/TrackingPerformance/TrackSummary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <nlohmann/json.hpp>

#define BOOST_AVAILABLE 1
#if ((BOOST_VERSION / 100) % 1000) <= 71
#if BOOST_VERSION < 107200
// Boost <=1.71 and lower do not have progress_display.hpp as a replacement yet
#include <boost/progress.hpp>

Expand Down

0 comments on commit f17f640

Please sign in to comment.