Include functional for std::greater
authorKurt Pattyn <pattyn.kurt@gmail.com>
Sat, 2 Nov 2013 09:30:30 +0000 (10:30 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 2 Nov 2013 09:30:58 +0000 (10:30 +0100)
Without this include, it does not compile on VS2012

Change-Id: I2400c789cbf11440dc8deea5d7b841f1122064f8
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
src/websockets/qwebsockethandshakerequest_p.cpp
src/websockets/qwebsockethandshakeresponse_p.cpp

index 158e7b8..b28b9b4 100644 (file)
@@ -46,6 +46,7 @@
 #include <QUrl>
 #include <QList>
 #include <QStringList>
+#include <functional>   //for std::greater
 #include "qwebsocketprotocol.h"
 
 QT_BEGIN_NAMESPACE
index 358b53d..4227537 100644 (file)
@@ -50,6 +50,7 @@
 #include <QSet>
 #include <QList>
 #include <QStringBuilder>   //for more efficient string concatenation
+#include <functional>   //for std::greater
 
 QT_BEGIN_NAMESPACE