Index: native_client_sdk/src/examples/geturl/geturl_handler.cc |
diff --git a/native_client_sdk/src/examples/geturl/geturl_handler.cc b/native_client_sdk/src/examples/geturl/geturl_handler.cc |
index b73b45d18745d1bcde36ccd61c3b02d065000638..358bf72f87db82eb344734c1a89cd3f085550275 100644 |
--- a/native_client_sdk/src/examples/geturl/geturl_handler.cc |
+++ b/native_client_sdk/src/examples/geturl/geturl_handler.cc |
@@ -17,6 +17,11 @@ |
#undef PostMessage |
#endif |
+#ifdef _MSC_VER |
+// Allow 'this' in initializer list |
+#pragma warning(disable : 4355) |
+#endif |
+ |
GetURLHandler* GetURLHandler::Create(pp::Instance* instance, |
const std::string& url) { |
return new GetURLHandler(instance, url); |