Fix clang warning about Analog::Device::postCreate overloading

This commit is contained in:
Rob Taylor 2023-08-26 15:01:45 +01:00 committed by Jean-Paul Chaput
parent 1e74e5a167
commit a77c7bf9bc
1 changed files with 6 additions and 0 deletions

View File

@ -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 );