Skip to content

Commit

Permalink
Merge pull request #77 from yamashi/master
Browse files Browse the repository at this point in the history
Fix build issue when NotThreadSafe is default
  • Loading branch information
EverNewJoy committed Dec 4, 2020
2 parents 0023390 + ed8f7f7 commit 5be373a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/VictoryBPLibrary/Public/VictoryPC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ bool AVictoryPC::VictoryPC_GetMyIP_SendRequest()
//~~~~~~~~~~~~~~~~~~~

FString TargetHost = "http://api.ipify.org";
TSharedRef < IHttpRequest > Request = Http->CreateRequest();
auto Request = Http->CreateRequest();
Request->SetVerb("GET");
Request->SetURL(TargetHost);
Request->SetHeader("User-Agent", "VictoryBPLibrary/1.0");
Expand All @@ -101,4 +101,4 @@ void AVictoryPC::HTTPOnResponseReceived(FHttpRequestPtr Request, FHttpResponsePt

this->VictoryPC_GetMyIP_DataReceived(ResponseStr);
}


0 comments on commit 5be373a

Please sign in to comment.