Skip to content

Commit cb9e76c

Browse files
committed
Workaround for missing header in Boost/Serialization
1 parent 3a214c6 commit cb9e76c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/bxmctools/src/g4/event_action.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@
4343
// 2022-08-16 FM:
4444
// Boost 1.74 : fix missing header in 'boost/serialization/list.hpp'
4545
// This is fixed in recent official Boost versions.
46+
#include <boost/version.hpp>
47+
#if BOOST_VERSION >= 107400
4648
#include <boost/serialization/library_version_type.hpp>
49+
#endif
4750
#include <datatools/properties.ipp>
4851

4952
// This project:

0 commit comments

Comments
 (0)