From 04cfe372f83fbb70c56d7ff68674f327b80fda17 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Wed, 19 Jan 2022 00:56:36 -0600 Subject: [PATCH] Wrap public access function in Gsoap ifdef to remove build warning --- src/zm_monitor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_monitor.h b/src/zm_monitor.h index 94c37affb..898349eb3 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -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 ) {