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

TileEvent: Fix gcc9 warnings.

In C++11, implicit declarations of copy and assignment are deprecated if the
class has a user defined destructor or copy or assignment.  gcc9 now warns
about this by default.
Adjust to avoid the warning.
parent eccd2ca6
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
//********************************************************************
......@@ -45,7 +45,7 @@ public:
TileContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS) : DataVector < TELEMENT > (ownPolicy) { }
// destructor
virtual ~TileContainer() { }
virtual ~TileContainer() = default;
// insert a Tile element into a collection.
inline void add (TELEMENT* rc) { MyVector::push_back(rc); }
......
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