Wrap public access function in Gsoap ifdef to remove build warning
This commit is contained in:
parent
fb832e7d1b
commit
04cfe372f8
|
@ -521,9 +521,11 @@ public:
|
||||||
bool OnvifEnabled() {
|
bool OnvifEnabled() {
|
||||||
return onvif_event_listener;
|
return onvif_event_listener;
|
||||||
}
|
}
|
||||||
|
#ifdef WITH_GSOAP
|
||||||
bool OnvifHealthy() {
|
bool OnvifHealthy() {
|
||||||
return ONVIF_Healthy;
|
return ONVIF_Healthy;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
inline const char *EventPrefix() const { return event_prefix.c_str(); }
|
inline const char *EventPrefix() const { return event_prefix.c_str(); }
|
||||||
inline bool Ready() const {
|
inline bool Ready() const {
|
||||||
if ( image_count >= ready_count ) {
|
if ( image_count >= ready_count ) {
|
||||||
|
|
Loading…
Reference in New Issue