Removed workaround for MinGW 5.3.

This commit is contained in:
Mat Sutcliffe
2019-01-03 23:23:43 +00:00
parent 4d4d7a7854
commit afd9541eb3

View File

@@ -49,9 +49,6 @@ namespace BlackMisc
//! If the function's return type is convertible to bool, and it evaluates to true,
//! then the waiting will immediately time out and return true.
template <typename T, typename F1, typename F2>
#ifdef Q_CC_MINGW
__attribute__((noinline)) // work around an apparent GCC 5.3 PE/COFF codegen bug
#endif
static bool processEventsUntil(const T *sender, F1 signal, int timeoutMs, F2 init)
{
QEventLoop eventLoop;