Skip to content

Commit 1578b86

Browse files
committed
Removing invalid use of http_response::error_code() from BlackJack client UI.
1 parent 048f895 commit 1578b86

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Release/samples/BlackJack/BlackJack_UIClient/PlayingTable.xaml.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,7 @@ void BlackjackClient::PlayingTable::Refresh()
149149

150150
void BlackjackClient::PlayingTable::InterpretResponse(http_response &response)
151151
{
152-
HRESULT responseHR = response.error_code();
153-
154-
if ( InterpretError(responseHR) || response.headers().content_type() != L"application/json" ) return;
152+
if ( response.headers().content_type() != L"application/json" ) return;
155153

156154
this->resultLabel->Text = L"";
157155

0 commit comments

Comments
 (0)