Merge pull request #7560 from tchaikov/wip-fix-icl

crush/CrushTester: workaround a bug in boost::icl
This commit is contained in:
Sage Weil 2016-02-09 08:55:59 -05:00
commit 8205c873c4

View File

@ -8,6 +8,13 @@
#include <algorithm>
#include <stdlib.h>
#include <boost/lexical_cast.hpp>
// to workaround https://svn.boost.org/trac/boost/ticket/9501
#ifdef _LIBCPP_VERSION
#include <boost/version.hpp>
#if BOOST_VERSION < 105600
#define ICL_USE_BOOST_MOVE_IMPLEMENTATION
#endif
#endif
#include <boost/icl/interval_map.hpp>
#include <boost/algorithm/string/join.hpp>
#include <common/SubProcess.h>