mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Removed workaround for MinGW 5.3.
This commit is contained in:
@@ -49,9 +49,6 @@ namespace BlackMisc
|
|||||||
//! If the function's return type is convertible to bool, and it evaluates to true,
|
//! 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.
|
//! then the waiting will immediately time out and return true.
|
||||||
template <typename T, typename F1, typename F2>
|
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)
|
static bool processEventsUntil(const T *sender, F1 signal, int timeoutMs, F2 init)
|
||||||
{
|
{
|
||||||
QEventLoop eventLoop;
|
QEventLoop eventLoop;
|
||||||
|
|||||||
Reference in New Issue
Block a user