WinRT: Fix compiler crash (msvc2013 arm)
authorMaurice Kalinowski <maurice.kalinowski@digia.com>
Tue, 12 Aug 2014 12:55:11 +0000 (14:55 +0200)
committerMaurice Kalinowski <maurice.kalinowski@digia.com>
Wed, 13 Aug 2014 07:41:09 +0000 (09:41 +0200)
commit6f482cd3b9d69635543e6decf1c4841f6dfb1578
treecc5a1971e6cde0537cde2de9bbfa9b308e6f772b
parent03933809bbc65c6073d7d3a1709e7c1c31758e27
WinRT: Fix compiler crash (msvc2013 arm)

Visual Studio 2013 Update 3 ARM compiler has issues with the code path
trying to optimize it. Instead of disabling optimization in general,
use a pragma for the function. x86 compilation is fine though.

Change-Id: If099f7d1400cb78958d10c2fd35daef3bb75fc91
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
src/websockets/qwebsocketframe.cpp