4040#include " rANS/factory.h"
4141#include " rANS/metrics.h"
4242#include " rANS/utils.h"
43+ #endif
4344
4445namespace o2
4546{
@@ -333,8 +334,10 @@ class EncodedBlocks
333334 public:
334335 typedef EncodedBlocks<H, N, W> base;
335336
337+ #ifndef __CLING__
336338 template <typename source_T>
337339 using dictionaryType = std::variant<rans::RenormedSparseHistogram<source_T>, rans::RenormedDenseHistogram<source_T>>;
340+ #endif
338341
339342 void setHeader (const H& h)
340343 {
@@ -360,6 +363,7 @@ class EncodedBlocks
360363 return mBlocks [i];
361364 }
362365
366+ #ifndef __CLING__
363367 template <typename source_T>
364368 dictionaryType<source_T> getDictionary (int i, ANSHeader ansVersion = ANSVersionUnspecified) const
365369 {
@@ -416,6 +420,7 @@ class EncodedBlocks
416420 throw std::runtime_error (fmt::format (" Failed to load serialized Dictionary. Unsupported ANS Version: {}" , static_cast <std::string>(ansVersion)));
417421 }
418422 };
423+ #endif
419424
420425 void setANSHeader (const ANSHeader& h)
421426 {
@@ -940,6 +945,7 @@ CTFIOSize EncodedBlocks<H, N, W>::decode(D_IT dest, // it
940945 }
941946};
942947
948+ #ifndef __CLING__
943949template <typename H, int N, typename W>
944950template <typename dst_IT>
945951CTFIOSize EncodedBlocks<H, N, W>::decodeCompatImpl(dst_IT dstBegin, int slot, const std::any& decoderExt) const
@@ -1425,6 +1431,7 @@ CTFIOSize EncodedBlocks<H, N, W>::encodeRANSV1Inplace(const input_IT srcBegin, c
14251431
14261432 return {0 , thisMetadata->getUncompressedSize (), thisMetadata->getCompressedSize ()};
14271433}; // namespace ctf
1434+ #endif
14281435
14291436template <typename H, int N, typename W>
14301437template <typename input_IT, typename buffer_T>
0 commit comments