From e6de6c153eea5c95b9b676ba53c4470963e6f133 Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Mon, 20 Aug 2012 13:03:36 +0800 Subject: [PATCH] Fix C++11 mode compilation with MinGW-w64 4.7.1 Change-Id: I8b840ece7341877fb6f5d6a85d8714517034e319 Reviewed-by: Thiago Macieira --- src/plugins/platforms/windows/qwindowsglcontext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/windows/qwindowsglcontext.cpp b/src/plugins/platforms/windows/qwindowsglcontext.cpp index b93ead61c9..dcc3725708 100644 --- a/src/plugins/platforms/windows/qwindowsglcontext.cpp +++ b/src/plugins/platforms/windows/qwindowsglcontext.cpp @@ -807,8 +807,8 @@ QOpenGLStaticContext::QOpenGLStaticContext() : wglSwapInternalExt((WglSwapInternalExt)wglGetProcAddress("wglSwapIntervalEXT")), wglGetSwapInternalExt((WglGetSwapInternalExt)wglGetProcAddress("wglGetSwapIntervalEXT")) { - if (extensionNames.startsWith(SAMPLE_BUFFER_EXTENSION" ") - || extensionNames.indexOf(" "SAMPLE_BUFFER_EXTENSION" ") != -1) + if (extensionNames.startsWith(SAMPLE_BUFFER_EXTENSION " ") + || extensionNames.indexOf(" " SAMPLE_BUFFER_EXTENSION " ") != -1) extensions |= SampleBuffers; }