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

Loading…
Cancel
Save