diff options
author | Vijay Pai <vpai@google.com> | 2018-09-20 16:54:35 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-09-20 18:09:27 -0700 |
commit | 91346398770a93f23037f4dec9cf1e5273bb0634 (patch) | |
tree | d3a5c3ab3df335d19af5b8ce4ff26fded99a6117 /test/cpp/microbenchmarks/fullstack_fixtures.h | |
parent | 3ee2919623dfcc11ac58e3e2a69c8986a2dd90eb (diff) |
Warn on non-virtual destructor if class has virtual functions
Diffstat (limited to 'test/cpp/microbenchmarks/fullstack_fixtures.h')
-rw-r--r-- | test/cpp/microbenchmarks/fullstack_fixtures.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/fullstack_fixtures.h b/test/cpp/microbenchmarks/fullstack_fixtures.h index 9d70277fbc..d390ae08f6 100644 --- a/test/cpp/microbenchmarks/fullstack_fixtures.h +++ b/test/cpp/microbenchmarks/fullstack_fixtures.h @@ -48,6 +48,7 @@ namespace testing { class FixtureConfiguration { public: + virtual ~FixtureConfiguration() {} virtual void ApplyCommonChannelArguments(ChannelArguments* c) const { c->SetInt(GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH, INT_MAX); c->SetInt(GRPC_ARG_MAX_SEND_MESSAGE_LENGTH, INT_MAX); |