szaszm commented on code in PR #1498: URL: https://github.com/apache/nifi-minifi-cpp/pull/1498#discussion_r1093130269
########## minifi_main/MiNiFiWindowsService.h: ########## @@ -20,10 +20,12 @@ #ifdef WIN32 #include <memory> +#include <utility> + #include "core/Core.h" void RunAsServiceIfNeeded(); -HANDLE GetTerminationEventHandle(bool* isStartedByService); +std::tuple<bool, HANDLE> GetTerminationEventHandle(); Review Comment: Yes, that's what I meant, but you can still use structured bindings at the call site. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
