diff options
author | 2018-11-30 13:40:12 -0500 | |
---|---|---|
committer | 2018-12-01 23:42:18 -0500 | |
commit | 4345ef121a3422bd5de4d99bd758e4fd8567680d (patch) | |
tree | 8c0440cb2ccdbe3c3d0a059f144711a7e9de7596 /test/core/gprpp/ref_counted_ptr_test.cc | |
parent | 5fed8e54528ca94213fec7038f56d9db91709c33 (diff) |
Add debug-only tracing to grpc_core::RefCount
Also, this patch removes the *WithTracing variants in favor of the new
API.
Diffstat (limited to 'test/core/gprpp/ref_counted_ptr_test.cc')
-rw-r--r-- | test/core/gprpp/ref_counted_ptr_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/gprpp/ref_counted_ptr_test.cc b/test/core/gprpp/ref_counted_ptr_test.cc index 512687eb67..96dbdf884b 100644 --- a/test/core/gprpp/ref_counted_ptr_test.cc +++ b/test/core/gprpp/ref_counted_ptr_test.cc @@ -163,9 +163,9 @@ TEST(MakeRefCounted, Args) { TraceFlag foo_tracer(true, "foo"); -class FooWithTracing : public RefCountedWithTracing<FooWithTracing> { +class FooWithTracing : public RefCounted<FooWithTracing> { public: - FooWithTracing() : RefCountedWithTracing(&foo_tracer) {} + FooWithTracing() : RefCounted(&foo_tracer) {} }; TEST(RefCountedPtr, RefCountedWithTracing) { |