From b8f2b2c6cf362acc30ebb581dfc43d44f73bdf23 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 5 Apr 2024 06:45:31 -0700 Subject: In example code, add missing template parameter. PiperOrigin-RevId: 622164857 Change-Id: I806ebeb4da81403c8a9d57f3529b2bfbc1a07d01 --- absl/profiling/internal/periodic_sampler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/profiling/internal/periodic_sampler.h') diff --git a/absl/profiling/internal/periodic_sampler.h b/absl/profiling/internal/periodic_sampler.h index 54f0af45..f5d847ab 100644 --- a/absl/profiling/internal/periodic_sampler.h +++ b/absl/profiling/internal/periodic_sampler.h @@ -172,7 +172,7 @@ inline bool PeriodicSamplerBase::Sample() noexcept { // Typical use case: // // struct HashTablezTag {}; -// thread_local PeriodicSampler sampler; +// thread_local PeriodicSampler sampler; // // void HashTableSamplingLogic(...) { // if (sampler.Sample()) { -- cgit v1.2.3