diff --git a/include/grpcpp/alarm_impl.h b/include/grpcpp/alarm_impl.h index 76d8192a556..cd37882e088 100644 --- a/include/grpcpp/alarm_impl.h +++ b/include/grpcpp/alarm_impl.h @@ -83,8 +83,7 @@ class Alarm : private ::grpc::GrpcLibraryCodegen { /// (false) template void Set(const T& deadline, std::function f) { - alarm_->SetInternal(::grpc::TimePoint(deadline).raw_time(), - std::move(f)); + SetInternal(::grpc::TimePoint(deadline).raw_time(), std::move(f)); } #endif