Skip to content
Snippets Groups Projects
Commit 5099a224 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'gcc11.AthAllocators-20201207' into 'master'

AthAllocators: Fix gcc11 warning.

See merge request atlas/athena!38946
parents a2c18762 dae3057f
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38946AthAllocators: Fix gcc11 warning.
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
// $Id: ArenaHandleBaseAllocT.icc 470529 2011-11-24 23:54:22Z ssnyder $
/**
* @file AthAllocators/ArenaHandleBaseAllocT.icc
* @author scott snyder
......@@ -107,7 +105,9 @@ template <typename ALLOC>
const typename ALLOC::Params&
ArenaHandleBaseAllocT<ALLOC>::params() const
{
return dynamic_cast<const ALLOC*>(this->baseAllocator())->params();
const ALLOC* alloc = dynamic_cast<const ALLOC*>(this->baseAllocator());
if (!alloc) std::abort();
return alloc->params();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment