summaryrefslogtreecommitdiff
path: root/test/util/thread_local.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/thread_local.cpp')
-rw-r--r--test/util/thread_local.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/util/thread_local.cpp b/test/util/thread_local.cpp
index 074af2c5d0..d2ec7f70a5 100644
--- a/test/util/thread_local.cpp
+++ b/test/util/thread_local.cpp
@@ -80,8 +80,8 @@ TEST(ThreadLocalStorage, AutoReclaim) {
unsigned counter = 0;
- DtorCounter* dtorCounter1 = new DtorCounter{ &counter };
- DtorCounter* dtorCounter2 = new DtorCounter{ &counter };
+ auto dtorCounter1 = new DtorCounter{ &counter };
+ auto dtorCounter2 = new DtorCounter{ &counter };
ThreadContext context = {"Test"};
@@ -91,5 +91,5 @@ TEST(ThreadLocalStorage, AutoReclaim) {
thread1.reset();
thread2.reset();
- EXPECT_EQ(counter, 2);
+ EXPECT_EQ(counter, 2u);
}