From 327b70e691587e63bec8ec68d4f72f921d949416 Mon Sep 17 00:00:00 2001 From: Mateusz Daniluk <121170681+VeithMetro@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:21:49 +0100 Subject: [PATCH] AdapterObserver callback member variable shouldn't be present on Windows and Apple --- Source/core/NetworkInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/core/NetworkInfo.h b/Source/core/NetworkInfo.h index b513cc0ec..683ce67a5 100644 --- a/Source/core/NetworkInfo.h +++ b/Source/core/NetworkInfo.h @@ -206,9 +206,9 @@ namespace Core { uint32_t Close(); private: -PUSH_WARNING(DISABLE_WARNING_UNUSED_PRIVATE_FIELD) +#if !defined(__WINDOWS__) && !defined(__APPLE__) INotification* _callback; -POP_WARNING() +#endif }; #if defined(__WINDOWS__) || defined(__APPLE__)