fixes or silences some VCPP warnings

This commit is contained in:
Peter Thorson
2012-03-08 07:55:41 -06:00
parent b9fd0d99ad
commit f506c185a8
3 changed files with 20 additions and 7 deletions

View File

@@ -45,6 +45,12 @@
#include <iostream>
#ifdef _MSC_VER
// Disable "warning C4355: 'this' : used in base member initializer list".
# pragma warning(push)
# pragma warning(disable:4355)
#endif
using boost::asio::ip::tcp;
namespace websocketpp {

View File

@@ -44,6 +44,12 @@
#include <iostream>
#include <stdexcept>
#ifdef _MSC_VER
// Disable "warning C4355: 'this' : used in base member initializer list".
# pragma warning(push)
# pragma warning(disable:4355)
#endif
namespace websocketpp {
// Forward declarations