Browse Source

Fix Clang compilation errors.

cosmy 9 years ago
parent
commit
e8d0d60a98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Samples/43_HttpRequestDemo/HttpRequestDemo.cpp

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

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