From 865b3dfe51781bb409bc6db2828d330c25d79352 Mon Sep 17 00:00:00 2001 From: scott snyder Date: Fri, 28 Dec 2018 16:41:11 +0100 Subject: [PATCH] TRT_GeoModel: Fix clang warnings. Clang warnings: missing override keywords. --- .../InDetDetDescr/TRT_GeoModel/src/ArrayFunction.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/InnerDetector/InDetDetDescr/TRT_GeoModel/src/ArrayFunction.h b/InnerDetector/InDetDetDescr/TRT_GeoModel/src/ArrayFunction.h index 3d556b84d57..c2812260565 100755 --- a/InnerDetector/InDetDetDescr/TRT_GeoModel/src/ArrayFunction.h +++ b/InnerDetector/InDetDetDescr/TRT_GeoModel/src/ArrayFunction.h @@ -1,9 +1,9 @@ /* - 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 _ArrayFunction_h_ -#define _ArrayFunction_h_ +#ifndef TRT_GEOMODEL_ARRAYFUNCTION_H +#define TRT_GEOMODEL_ARRAYFUNCTION_H //-------------------------------------------------------// // This one dimensional function takes its values from // // an array..which it copies in. // @@ -29,8 +29,8 @@ class ArrayFunction : public AbsFunction { ArrayFunction(const ArrayFunction &right); // Retreive function value - virtual double operator ()(double argument) const; - virtual double operator ()(const Argument & a) const {return operator() (a[0]);} + virtual double operator ()(double argument) const override; + virtual double operator ()(const Argument & a) const override {return operator() (a[0]);} private: -- GitLab