fixup! Fix formatting

pull/14883/head
Ara Ayvazyan 7 years ago
parent f76069a593
commit 8016d35aca
  1. 8
      include/grpcpp/impl/codegen/server_interface.h

@ -190,14 +190,14 @@ class ServerInterface : public internal::CallHook {
} }
~PayloadAsyncRequest() { ~PayloadAsyncRequest() {
payload_.Release(); // We do not own the payload_ payload_.Release(); // We do not own the payload_
} }
bool FinalizeResult(void** tag, bool* status) override { bool FinalizeResult(void** tag, bool* status) override {
if (*status) { if (*status) {
if (!payload_.Valid() || if (!payload_.Valid() || !SerializationTraits<Message>::Deserialize(
!SerializationTraits<Message>::Deserialize(payload_.bbuf_ptr(), request_) payload_.bbuf_ptr(), request_)
.ok()) { .ok()) {
// If deserialization fails, we cancel the call and instantiate // If deserialization fails, we cancel the call and instantiate
// a new instance of ourselves to request another call. We then // a new instance of ourselves to request another call. We then
// return false, which prevents the call from being returned to // return false, which prevents the call from being returned to

Loading…
Cancel
Save