From a77c7bf9bca20461b92e0d8f7ea1f25ca54bcf6f Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Sat, 26 Aug 2023 15:01:45 +0100 Subject: [PATCH] Fix clang warning about Analog::Device::postCreate overloading --- hurricane/src/analog/hurricane/analog/Device.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hurricane/src/analog/hurricane/analog/Device.h b/hurricane/src/analog/hurricane/analog/Device.h index 6998dcce..8406bf97 100644 --- a/hurricane/src/analog/hurricane/analog/Device.h +++ b/hurricane/src/analog/hurricane/analog/Device.h @@ -15,6 +15,7 @@ #pragma once + #include "hurricane/Cell.h" #include "hurricane/analog/StepParameter.h" #include "hurricane/analog/FloatParameter.h" @@ -65,7 +66,12 @@ namespace Analog { Device (Hurricane::Library* , const Hurricane::Name& ); static void preCreate ( const Hurricane::Name& ); + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Woverloaded-virtual" virtual void _postCreate ( const Hurricane::Name& deviceName ); +#pragma clang diagnostic pop + virtual void _preDestroy (); inline Hurricane::Library* getSubDevicesLibrary (); inline void addParameter ( Parameter* parameter );