Fix missed override specifier (#31489)

pull/32041/head
Ilya Lukin 2 years ago committed by GitHub
parent aa2956b05b
commit 06faf44d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      examples/cpp/route_guide/route_guide_callback_server.cc

@ -156,8 +156,8 @@ class RouteGuideImpl final : public RouteGuide::CallbackService {
feature_list_(feature_list) {
StartRead(&point_);
}
void OnDone() { delete this; }
void OnReadDone(bool ok) {
void OnDone() override { delete this; }
void OnReadDone(bool ok) override {
if (ok) {
point_count_++;
if (!GetFeatureName(point_, *feature_list_).empty()) {

Loading…
Cancel
Save