Skip to content
Snippets Groups Projects
Commit 7b46232a authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

AthContainers: c++20 fix

std::is_pod is deprecated.
parent 0c041e69
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,!41795CxxUtils+AthContainers: c++20 fixes
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/ */
// $Id$
/** /**
* @file AthContainers/tools/AuxTypeVector.icc * @file AthContainers/tools/AuxTypeVector.icc
* @author scott snyder <snyder@bnl.gov> * @author scott snyder <snyder@bnl.gov>
...@@ -421,7 +419,8 @@ bool AuxTypeVectorHolder<T, CONT>::insertMove (size_t pos, void* beg, void* end) ...@@ -421,7 +419,8 @@ bool AuxTypeVectorHolder<T, CONT>::insertMove (size_t pos, void* beg, void* end)
insertMove1 (m_vecPtr->begin() + pos*SCALE, insertMove1 (m_vecPtr->begin() + pos*SCALE,
reinterpret_cast<element_type*> (beg), reinterpret_cast<element_type*> (beg),
reinterpret_cast<element_type*> (end), reinterpret_cast<element_type*> (end),
typename std::is_pod<element_type>::type()); typename std::conjunction<std::is_standard_layout<element_type>,
std::is_trivial<element_type> >::type());
return m_vecPtr->data() == orig; return m_vecPtr->data() == orig;
} }
......
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