Commit eaa4df9c authored by Steven Murray's avatar Steven Murray
Browse files

cta/CTA#877 ObjectStore.RetrieveQueueAlgorithms unit tests fails or succeeds...

cta/CTA#877 ObjectStore.RetrieveQueueAlgorithms unit tests fails or succeeds base on version of cmake

As suggested by Michal I've added the missing declaration of the
full specialised getElementSummary() method.  This fixes the
problem.  Where there were two "defined" symbols now there is
only one:

[itctabuild02] CTA (master) > nm /lib64/libctaobjectstoreunittests.so.0 | grep _ZN3cta11objectstore15ContainerTraitsINS0_13RetrieveQueueENS0_23RetrieveQueueToTransferEE17getElementSummaryERKNS4_13PoppedElementE
                 U _ZN3cta11objectstore15ContainerTraitsINS0_13RetrieveQueueENS0_23RetrieveQueueToTransferEE17getElementSummaryERKNS4_13PoppedElementE
[itctabuild02] CTA (master) > nm /lib64/libctaobjectstore.so.0 | grep _ZN3cta11objectstore15ContainerTraitsINS0_13RetrieveQueueENS0_23RetrieveQueueToTransferEE17getElementSummaryERKNS4_13PoppedElementE
000000000047afa8 T _ZN3cta11objectstore15ContainerTraitsINS0_13RetrieveQueueENS0_23RetrieveQueueToTransferEE17getElementSummaryERKNS4_13PoppedElementE
[itctabuild02] CTA (master) >
parent a28b7a7f
......@@ -573,4 +573,8 @@ auto ContainerTraits<RetrieveQueue,RetrieveQueueToTransfer>::
getPoppingElementsCandidates(Container &cont, PopCriteria &unfulfilledCriteria, ElementsToSkipSet &elementsToSkip,
log::LogContext &lc) -> PoppedElementsBatch;
template<>
auto ContainerTraits<RetrieveQueue,RetrieveQueueToTransfer>::
getElementSummary(const PoppedElement &poppedElement) -> PoppedElementsSummary;
}} // namespace cta::objectstore
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment