Skip to content

Commit 523e0f2

Browse files
committed
fixup! C++ standard fobids specializations of is_trivially_copyable
1 parent b17c20b commit 523e0f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Detectors/DCS/test/testDataPointTypes.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@
1717
#include <boost/test/unit_test.hpp>
1818
#include "DetectorsDCS/DataPointCompositeObject.h"
1919
#include "Framework/TypeTraits.h"
20-
#include <vector>
21-
#include <list>
2220
#include <gsl/gsl>
2321
#include <boost/mpl/list.hpp>
2422

2523
typedef boost::mpl::list<o2::dcs::DataPointIdentifier, o2::dcs::DataPointValue, o2::dcs::DataPointCompositeObject> testTypes;
2624

2725
BOOST_AUTO_TEST_CASE_TEMPLATE(DataPointCompositeObjectTypeTraits, T, testTypes)
2826
{
29-
BOOST_CHECK_EQUAL(o2::framework::is_forced_trivially_copyable<T>::value, true);
27+
BOOST_CHECK_EQUAL(o2::framework::is_forced_trivially_copyable<T>::value || std::is_trivially_copyable_v<T>, true);
3028
BOOST_CHECK_EQUAL(std::is_polymorphic<T>::value, false);
3129
BOOST_CHECK_EQUAL(std::is_pointer<T>::value, false);
3230
BOOST_CHECK_EQUAL(o2::framework::is_forced_non_messageable<T>::value, false);

0 commit comments

Comments
 (0)