Fix spelling
PiperOrigin-RevId: 525820426 Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
This commit is contained in:
parent
d8a5fb7ee6
commit
d7fb5e1af4
@ -979,14 +979,14 @@ TEST(ThreadLocalTest, SingleParamConstructorInitializesToParam) {
|
||||
EXPECT_EQ(&i, t2.get());
|
||||
}
|
||||
|
||||
class NoDefaultContructor {
|
||||
class NoDefaultConstructor {
|
||||
public:
|
||||
explicit NoDefaultContructor(const char*) {}
|
||||
NoDefaultContructor(const NoDefaultContructor&) {}
|
||||
explicit NoDefaultConstructor(const char*) {}
|
||||
NoDefaultConstructor(const NoDefaultConstructor&) {}
|
||||
};
|
||||
|
||||
TEST(ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion) {
|
||||
ThreadLocal<NoDefaultContructor> bar(NoDefaultContructor("foo"));
|
||||
ThreadLocal<NoDefaultConstructor> bar(NoDefaultConstructor("foo"));
|
||||
bar.pointer();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user