diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-08 14:38:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-08 14:38:47 +0200 |
| commit | 20b6a9862bbde42e9ce038b33ec049194a8146a5 (patch) | |
| tree | a198e280033c6636191590159293b64b1e02b426 /test/rgb_xyz_test.cc | |
| parent | 474aeac068c193bc429d2c1f417290b2b8cd1810 (diff) | |
Fix boost bind placeholder warnings.
Diffstat (limited to 'test/rgb_xyz_test.cc')
| -rw-r--r-- | test/rgb_xyz_test.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/rgb_xyz_test.cc b/test/rgb_xyz_test.cc index 00787938..cf3eb9ff 100644 --- a/test/rgb_xyz_test.cc +++ b/test/rgb_xyz_test.cc @@ -37,7 +37,7 @@ #include "piecewise_lut.h" #include "rgb_xyz.h" #include "stream_operators.h" -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #include <boost/random.hpp> #include <boost/scoped_array.hpp> #include <boost/test/unit_test.hpp> @@ -51,6 +51,9 @@ using std::shared_ptr; using std::string; using boost::optional; using boost::scoped_array; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif static |
