Ver código fonte

Fix Clang compilation errors.

cosmy 9 anos atrás
pai
commit
e8d0d60a98

+ 1 - 1
Source/Samples/43_HttpRequestDemo/HttpRequestDemo.cpp

@@ -82,7 +82,7 @@ void HttpRequestDemo::SubscribeToEvents()
 void HttpRequestDemo::HandleUpdate(StringHash eventType, VariantMap& eventData)
 {
     if (httpRequest_.Null())
-        httpRequest_ = new HttpRequest("http://httpbin.org/ip", "GET", {}, "");
+        httpRequest_ = new HttpRequest("http://httpbin.org/ip", "GET", Vector<String>(), String::EMPTY);
     else
     {
         // Initializing HTTP request