From 1053e703601cd4c21ed834f140b45fc31798efa3 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 9 Jul 2020 15:46:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/myx/backports/qt/common.hpp | 2 +- src/myx/qt/posix_signal_watcher.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/myx/backports/qt/common.hpp b/src/myx/backports/qt/common.hpp index f225fb0..33cc259 100644 --- a/src/myx/backports/qt/common.hpp +++ b/src/myx/backports/qt/common.hpp @@ -7,7 +7,7 @@ #include #endif -#if (QT_VERSION <= 0x050700) +#if ( QT_VERSION <= 0x050700 ) template< typename ... Args > struct QOverload { diff --git a/src/myx/qt/posix_signal_watcher.cpp b/src/myx/qt/posix_signal_watcher.cpp index a084347..8709e41 100644 --- a/src/myx/qt/posix_signal_watcher.cpp +++ b/src/myx/qt/posix_signal_watcher.cpp @@ -63,7 +63,7 @@ MYXLIB_INLINE void PosixSignalWatcherPrivate::watchForSignal( int signal ) #if MYX_QT_HAS_POSIX_SIGNALS // Register a sigaction which will write to the socket pair - struct sigaction sigact {}; + struct sigaction sigact; sigact.sa_handler = PosixSignalWatcherPrivate::signalHandler; //NOLINT sigact.sa_flags = 0; sigemptyset( &sigact.sa_mask );