Fix build warnings, update deprecated boost headers (#1035)

Fix build warnings, update deprecated boost headers.
This commit is contained in:
Scott Mudge
2023-05-11 11:46:15 -04:00
committed by GitHub
parent 2e2ea807a6
commit e23b600239
4 changed files with 18 additions and 5 deletions

View File

@@ -18,7 +18,12 @@
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/log/trivial.hpp>
#if BOOST_VERSION >= 107800
#include <boost/timer/timer.hpp>
#else
#include <boost/timer.hpp>
#endif
static const float GROUND_Z = -0.04f;
static const std::array<float, 4> DEFAULT_MODEL_COLOR = { 0.3255f, 0.337f, 0.337f, 1.0f };