Skip to content

Commit

Permalink
[FIX] Compilation fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwielders committed Jul 26, 2021
1 parent 9919a5a commit b5e7127
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/websocket/JSONRPCLink.h
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,7 @@ namespace JSONRPC {
FromMessage((INTERFACE*) &inbound, *response);
}
}

return (result);
}
template <typename PARAMETERS>
Expand All @@ -940,9 +941,6 @@ namespace JSONRPC {
if (result == Core::ERROR_NONE) {
if (response->Error.IsSet() == true) {
result = response->Error.Code.Value();
} else if ((response->Result.IsSet() == true)
&& (response->Result.Value().empty() == false)) {
FromMessage((INTERFACE*) &inbound, *response);
}
}
return (result);
Expand Down

0 comments on commit b5e7127

Please sign in to comment.