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 );