Skip to content

Commit

Permalink
Merge pull request #1021 from Chilledheart/develop
Browse files Browse the repository at this point in the history
Add missing GRPC_OVERRIDE, NFC
  • Loading branch information
vjpai committed Mar 12, 2015
2 parents bf113f1 + e3bbcca commit 01f8f11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cpp/client/insecure_credentials.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/cpp/client/secure_credentials.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 01f8f11

Please sign in to comment.