diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-08-24 09:36:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 09:36:11 -0700 |
commit | 646528bc53c37950b556be825de1ba9fa5303be3 (patch) | |
tree | d1ac59acb28768ee270e31d296453bbca2b5f55f /test/util | |
parent | 7a84a0e4eaafb9ac3b7179aef613ad1627fe214c (diff) | |
download | qtlocation-mapboxgl-646528bc53c37950b556be825de1ba9fa5303be3.tar.gz |
[core] Simplify Thread::invokeSync (#6128)
Diffstat (limited to 'test/util')
-rw-r--r-- | test/util/thread_local.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/util/thread_local.cpp b/test/util/thread_local.cpp index d2ec7f70a5..4ee7042580 100644 --- a/test/util/thread_local.cpp +++ b/test/util/thread_local.cpp @@ -43,9 +43,9 @@ TEST(ThreadLocalStorage, Basic) { Thread<TestThread> thread2(context, &number2); Thread<TestThread> thread3(context, &number3); - EXPECT_EQ(number1, thread1.invokeSync<int>(&TestThread::getNumber)); - EXPECT_EQ(number2, thread2.invokeSync<int>(&TestThread::getNumber)); - EXPECT_EQ(number3, thread3.invokeSync<int>(&TestThread::getNumber)); + EXPECT_EQ(number1, thread1.invokeSync(&TestThread::getNumber)); + EXPECT_EQ(number2, thread2.invokeSync(&TestThread::getNumber)); + EXPECT_EQ(number3, thread3.invokeSync(&TestThread::getNumber)); } TEST(ThreadLocalStorage, NotSetReturnsNull) { |