Wrap public access function in Gsoap ifdef to remove build warning

This commit is contained in:
Jonathan Bennett 2022-01-19 00:56:36 -06:00
parent fb832e7d1b
commit 04cfe372f8
1 changed files with 2 additions and 0 deletions

View File

@ -521,9 +521,11 @@ public:
bool OnvifEnabled() {
return onvif_event_listener;
}
#ifdef WITH_GSOAP
bool OnvifHealthy() {
return ONVIF_Healthy;
}
#endif
inline const char *EventPrefix() const { return event_prefix.c_str(); }
inline bool Ready() const {
if ( image_count >= ready_count ) {