Skip to content
Snippets Groups Projects
Commit 2dab485a authored by Rosen Matev's avatar Rosen Matev :sunny:
Browse files

Future-proof cling workaround for LCG 97, see #75

parent 04b8ce8f
No related branches found
No related tags found
2 merge requests!2454Fixed usage of small_vector in conjunction with cling,!2429WIP: First working version of SciFi NZS decoding
Pipeline #1499923 passed
......@@ -34,6 +34,7 @@
// Boost
#include <boost/container/small_vector.hpp>
#include <boost/version.hpp>
// DetDesc
class DeRichRadiator;
......@@ -56,8 +57,15 @@ namespace Rich {
class RadIntersection {
public:
// Explicitly specify boost::container::small_vector default template arguments
// to sidestep cling error, see lhcb/LHCb#75
#if BOOST_VERSION < 107100
/// Definition of a vector of intersections
using Vector = boost::container::small_vector<Rich::RadIntersection, 1, void>;
#else
/// Definition of a vector of intersections
using Vector = boost::container::small_vector<Rich::RadIntersection, 1, void, void>;
#endif
public:
/// Default constructor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment