Правки

This commit is contained in:
Andrei Astafev 2020-07-09 15:46:02 +03:00
parent ec720ff8f4
commit 1053e70360
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
#include <QtGlobal> #include <QtGlobal>
#endif #endif
#if (QT_VERSION <= 0x050700) #if ( QT_VERSION <= 0x050700 )
template< typename ... Args > template< typename ... Args >
struct QOverload struct QOverload
{ {

View File

@ -63,7 +63,7 @@ MYXLIB_INLINE void PosixSignalWatcherPrivate::watchForSignal( int signal )
#if MYX_QT_HAS_POSIX_SIGNALS #if MYX_QT_HAS_POSIX_SIGNALS
// Register a sigaction which will write to the socket pair // Register a sigaction which will write to the socket pair
struct sigaction sigact {}; struct sigaction sigact;
sigact.sa_handler = PosixSignalWatcherPrivate::signalHandler; //NOLINT sigact.sa_handler = PosixSignalWatcherPrivate::signalHandler; //NOLINT
sigact.sa_flags = 0; sigact.sa_flags = 0;
sigemptyset( &sigact.sa_mask ); sigemptyset( &sigact.sa_mask );