summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-07-11 04:44:37 (GMT)
committerJake Petroules <jake.petroules@qt.io>2017-08-14 07:23:53 (GMT)
commitfb71c823a7ae823345518ca33ccfe273fcf76494 (patch)
tree739ecc6198f66b3a09abab46f98e7cf9136f4f1b
parent11a6f90d62a1c6e705a581ebf60b4ed02424d248 (diff)
downloadqtwebsockets-fb71c823a7ae823345518ca33ccfe273fcf76494.tar.gz
Remove workaround for unsupported compiler
Qt for WinRT now requires Visual Studio 2015. Change-Id: I8996f2855476315819532df89c6754aa162bd02e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--src/websockets/qwebsocketframe.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/websockets/qwebsocketframe.cpp b/src/websockets/qwebsocketframe.cpp
index d51ae7c..3be3d28 100644
--- a/src/websockets/qwebsocketframe.cpp
+++ b/src/websockets/qwebsocketframe.cpp
@@ -286,13 +286,6 @@ bool QWebSocketFrame::isValid() const
return m_isValid;
}
-// The arm compiler of Visual Studio 2013 Update 3 crashes when
-// trying to optimize QWebSocketFrame::readFrame. Hence turn
-// those off for this snippet
-#if defined(Q_OS_WINRT) && defined(__ARM__)
-# pragma optimize("", off)
-#endif
-
#define WAIT_FOR_MORE_DATA(dataSizeInBytes) \
{ returnState = processingState; \
processingState = PS_WAIT_FOR_MORE_DATA; dataWaitSize = dataSizeInBytes; }
@@ -501,10 +494,6 @@ QWebSocketFrame QWebSocketFrame::readFrame(QIODevice *pIoDevice)
return frame;
}
-#if defined(Q_OS_WINRT) && defined(__ARM__)
-# pragma optimize("", on)
-#endif
-
/*!
\internal
*/