diff options
author | 2018-09-19 11:29:11 -0700 | |
---|---|---|
committer | 2018-09-19 11:29:11 -0700 | |
commit | deb3126611a513b768052d93a976832985640d9f (patch) | |
tree | 4173a2ca0c69def52b9f93e3fba3838e40a11940 /src/cpp/common | |
parent | d177c8fe46c2550133199f71714c23ff0df8d38a (diff) |
Fix clang-tidy concerns
Diffstat (limited to 'src/cpp/common')
-rw-r--r-- | src/cpp/common/callback_common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/common/callback_common.cc b/src/cpp/common/callback_common.cc index fa586286d1..a0c8eeb516 100644 --- a/src/cpp/common/callback_common.cc +++ b/src/cpp/common/callback_common.cc @@ -66,8 +66,8 @@ class CallbackWithSuccessImpl : public grpc_core::CQCallbackInterface { GPR_ASSERT(parent_->ops()->FinalizeResult(&ignored, &new_ok)); GPR_ASSERT(ignored == parent_->ops()); - // Last use of func_ or ok, so ok to move them out for rvalue call above - CatchingCallback(std::move(func_), std::move(ok)); + // Last use of func_, so ok to move it out for rvalue call above + CatchingCallback(std::move(func_), ok); func_ = nullptr; // reset to clear this out for sure grpc_call_unref(call_); |