aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Chilledheart <rwindz0@gmail.com>2015-03-12 18:20:35 +0800
committerGravatar Chilledheart <rwindz0@gmail.com>2015-03-12 18:21:18 +0800
commite3bbcca12c4936ca596d5ee49eaea37c7ab86502 (patch)
treeb518fbc20030ed13badf91ce565753e404c64a80 /src
parent6063b9ff526b293a389fa0377a59346c5bb222c1 (diff)
Add missing GRPC_OVERRIDE, NFC
Diffstat (limited to 'src')
-rw-r--r--src/cpp/client/insecure_credentials.cc2
-rw-r--r--src/cpp/client/secure_credentials.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/client/insecure_credentials.cc b/src/cpp/client/insecure_credentials.cc
index 2dcfe69591..f3ca430bd4 100644
--- a/src/cpp/client/insecure_credentials.cc
+++ b/src/cpp/client/insecure_credentials.cc
@@ -54,7 +54,7 @@ class InsecureCredentialsImpl GRPC_FINAL : public Credentials {
target, grpc_channel_create(target.c_str(), &channel_args)));
}
- SecureCredentials* AsSecureCredentials() { return nullptr; }
+ SecureCredentials* AsSecureCredentials() GRPC_OVERRIDE { return nullptr; }
};
} // namespace
diff --git a/src/cpp/client/secure_credentials.cc b/src/cpp/client/secure_credentials.cc
index 47f645c1b6..6ca702eead 100644
--- a/src/cpp/client/secure_credentials.cc
+++ b/src/cpp/client/secure_credentials.cc
@@ -59,7 +59,7 @@ class SecureCredentials GRPC_FINAL : public Credentials {
grpc_secure_channel_create(c_creds_, target.c_str(), &channel_args)));
}
- SecureCredentials* AsSecureCredentials() { return this; }
+ SecureCredentials* AsSecureCredentials() GRPC_OVERRIDE { return this; }
private:
grpc_credentials* const c_creds_;