diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:08:18 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:08:18 +0000 | 
| commit | 5ca98fd98791947eba83a1ed3f2c8191ef7afa6c (patch) | |
| tree | f5944309621cee4fe0976be6f9ac619b7ebfc4c2 /unittests/Support/ThreadLocalTest.cpp | |
| parent | 68bcb7db193e4bc81430063148253d30a791023e (diff) | |
Notes
Diffstat (limited to 'unittests/Support/ThreadLocalTest.cpp')
| -rw-r--r-- | unittests/Support/ThreadLocalTest.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Support/ThreadLocalTest.cpp b/unittests/Support/ThreadLocalTest.cpp index dd4d706f5cf5..ea751be230cc 100644 --- a/unittests/Support/ThreadLocalTest.cpp +++ b/unittests/Support/ThreadLocalTest.cpp @@ -25,14 +25,14 @@ struct S {  TEST_F(ThreadLocalTest, Basics) {    ThreadLocal<const S> x; -  EXPECT_EQ(0, x.get()); +  EXPECT_EQ(nullptr, x.get());    S s;    x.set(&s);    EXPECT_EQ(&s, x.get());    x.erase(); -  EXPECT_EQ(0, x.get()); +  EXPECT_EQ(nullptr, x.get());  }  }  | 
