diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt index 532c43d4b94a1..9847c32aae94c 100644 --- a/tutorials/CMakeLists.txt +++ b/tutorials/CMakeLists.txt @@ -705,6 +705,9 @@ set(analysis-dataframe-df015_LazyDataSource-depends tutorial-analysis-dataframe- # Download the input root file only once from a python tutorial, the C++ one depends on it set(hist-hist039_TH2Poly_usa-depends tutorial-hist-hist039_TH2Poly_usa-py) +# Specify which tutorials should be run with ACLiC, e.g. because they contain classes instances of which are written +set(io-ntuple-ntpl014_framework-aclic "+") + #---Loop over all tutorials and define the corresponding test--------- foreach(t ${tutorials}) list(FIND returncode_1 ${t} index) diff --git a/tutorials/io/ntuple/ntpl014_framework.C b/tutorials/io/ntuple/ntpl014_framework.C index 26e320fa354a4..a20cd0a0e4000 100644 --- a/tutorials/io/ntuple/ntpl014_framework.C +++ b/tutorials/io/ntuple/ntpl014_framework.C @@ -36,6 +36,8 @@ #include #include +#include + #include #include // for std::size_t #include // for std::uint32_t @@ -148,6 +150,8 @@ public: } } } + // Version 0 signals to ROOT's typesystem that this instances of this class will never be written + ClassDef(ParallelOutputter,0) }; // A SerializingOutputter uses a sequential RNTupleWriter to append an RNTuple to a TFile and a std::mutex to @@ -215,6 +219,8 @@ public: } } } + // Version 0 signals to ROOT's typesystem that this instances of this class will never be written + ClassDef(SerializingOutputter,0) }; // === END OF TUTORIAL FRAMEWORK CODE ===