Fix clang warning about Analog::Device::postCreate overloading
This commit is contained in:
parent
1e74e5a167
commit
a77c7bf9bc
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "hurricane/Cell.h"
|
#include "hurricane/Cell.h"
|
||||||
#include "hurricane/analog/StepParameter.h"
|
#include "hurricane/analog/StepParameter.h"
|
||||||
#include "hurricane/analog/FloatParameter.h"
|
#include "hurricane/analog/FloatParameter.h"
|
||||||
|
@ -65,7 +66,12 @@ namespace Analog {
|
||||||
Device (Hurricane::Library*
|
Device (Hurricane::Library*
|
||||||
, const Hurricane::Name& );
|
, const Hurricane::Name& );
|
||||||
static void preCreate ( 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 );
|
virtual void _postCreate ( const Hurricane::Name& deviceName );
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
virtual void _preDestroy ();
|
virtual void _preDestroy ();
|
||||||
inline Hurricane::Library* getSubDevicesLibrary ();
|
inline Hurricane::Library* getSubDevicesLibrary ();
|
||||||
inline void addParameter ( Parameter* parameter );
|
inline void addParameter ( Parameter* parameter );
|
||||||
|
|
Loading…
Reference in New Issue