From eabc98851db8e927ce7320bf9d685a1627306c2c Mon Sep 17 00:00:00 2001 From: Shaun <shaun.roe@cern.ch> Date: Tue, 15 Apr 2025 09:30:33 +0200 Subject: [PATCH] trial: clang warnings --- GeoModelCore/GeoModelKernel/GeoModelKernel/GeoRectSurface.h | 6 +++--- .../GeoModelKernel/GeoModelKernel/GeoTrapezoidSurface.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoRectSurface.h b/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoRectSurface.h index c5a9935c9..1e95164c1 100644 --- a/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoRectSurface.h +++ b/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoRectSurface.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration */ /* @@ -36,11 +36,11 @@ class GeoRectSurface : public GeoVSurfaceShape return m_yHalfLength; } - virtual const std::string & type () const{ + virtual const std::string & type () const override final{ return s_classType; } - virtual ShapeType typeID () const{ + virtual ShapeType typeID () const override final{ return s_classTypeID; } diff --git a/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoTrapezoidSurface.h b/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoTrapezoidSurface.h index 91a16c8dc..8dc31bd88 100644 --- a/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoTrapezoidSurface.h +++ b/GeoModelCore/GeoModelKernel/GeoModelKernel/GeoTrapezoidSurface.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration */ /* @@ -42,11 +42,11 @@ class GeoTrapezoidSurface : public GeoVSurfaceShape return m_yHalfLength; } - virtual const std::string & type () const{ + virtual const std::string & type () const override final{ return s_classType; } - virtual ShapeType typeID () const{ + virtual ShapeType typeID () const override final{ return s_classTypeID; } -- GitLab