From fe469caccac92db4c63bc1545b6b974ccf528870 Mon Sep 17 00:00:00 2001 From: khromenokroman Date: Sun, 1 Sep 2024 22:33:22 +0200 Subject: [PATCH] iox-#2330 Refactor SD notify --- iceoryx_posh/include/iceoryx_posh/internal/roudi/roudi.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/iceoryx_posh/include/iceoryx_posh/internal/roudi/roudi.hpp b/iceoryx_posh/include/iceoryx_posh/internal/roudi/roudi.hpp index 1a165c8383..289f0270e9 100644 --- a/iceoryx_posh/include/iceoryx_posh/internal/roudi/roudi.hpp +++ b/iceoryx_posh/include/iceoryx_posh/internal/roudi/roudi.hpp @@ -39,10 +39,7 @@ #include #include -#if defined(__MINGW32__) || defined(__MINGW64__) -#elif USE_SYSTEMD -#include -#else +#if USE_SYSTEMD #include #endif @@ -143,7 +140,7 @@ class ServiceManagementSystemd final : public ServiceManagement * @param state SDNotify state to be sent * @return True if signal sending is successful, otherwise false **/ - bool sendSDNotifySignalHelper(const std::string_view state); + bool sendSDNotifySignalHelper(const std::string_view state) final; /** * @brief Function to manage the watchdog loop