Skip to content

Commit

Permalink
[FIX] boost
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveralka authored and timosachsenberg committed Nov 13, 2017
1 parent 49d5079 commit 4902204
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
#include <algorithm>
#include <numeric>

// array_wrapper needs to be included before it is used
// only in boost1.64+. See issue #2790
#if OPENMS_BOOST_VERSION_MINOR >= 64
#include <boost/serialization/array_wrapper.hpp>
#endif
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/mean.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
#include <OpenMS/CONCEPT/UniqueIdGenerator.h>
#include <ctime>
#include <algorithm> // for std::sort and std::adjacent_find
// array_wrapper needs to be included before it is used
// only in boost1.64+. See issue #2790
#if OPENMS_BOOST_VERSION_MINOR >= 64
#include <boost/serialization/array_wrapper.hpp>
#endif
#include <boost/accumulators/statistics/covariance.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
///////////////////////////
Expand Down

0 comments on commit 4902204

Please sign in to comment.