From f6d5c89d0111e78bd566f5776e6864b2b2548fd2 Mon Sep 17 00:00:00 2001 From: scott snyder <scott.snyder@cern.ch> Date: Sat, 19 Jan 2019 20:38:46 +0100 Subject: [PATCH] TrkEventTPCnv: 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. --- .../TrkEventTPCnv/TrkEventTPCnv/VxVertex/Vertex_p1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tracking/TrkEventCnv/TrkEventTPCnv/TrkEventTPCnv/VxVertex/Vertex_p1.h b/Tracking/TrkEventCnv/TrkEventTPCnv/TrkEventTPCnv/VxVertex/Vertex_p1.h index 2001984fe965..823ae68ccaad 100644 --- a/Tracking/TrkEventCnv/TrkEventTPCnv/TrkEventTPCnv/VxVertex/Vertex_p1.h +++ b/Tracking/TrkEventCnv/TrkEventTPCnv/TrkEventTPCnv/VxVertex/Vertex_p1.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #ifndef VERTEX_P1_TRK_H @@ -24,7 +24,7 @@ namespace Trk public: Vertex_p1() {} - virtual ~Vertex_p1() {} + virtual ~Vertex_p1() = default; std::vector<float> m_position; -- GitLab