Skip to content

DataPool : Add test for the other ctor, and fix compilation error

ping @ssnyder

this

{
    SG::Arena a ("a");
    DataPool<double> dummy(&a);
  }

was giving

athena/Control/AthAllocators/AthAllocators/DataPool.icc:66:5: error: 
no matching constructor for initialization of 'handle_t' (aka 'ArenaCachingHandle<double, SG::ArenaPoolAllocator>')
  : m_handle (arena, nullptr, &s_params)
    ^         ~~~~~~~~~~~~~~~~~~~~~~~~~

the matching ctor seems to anyhow want 2 param (rm nullptr)

Merge request reports