[libcxx] [test] Remove an unused local typedef in enable_shared_from_this.pass.cpp.
Trivial change, committed without review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309322 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -80,7 +80,6 @@ int main()
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
typedef std::shared_ptr<PrivateBase> APtr;
|
typedef std::shared_ptr<PrivateBase> APtr;
|
||||||
typedef std::weak_ptr<PrivateBase> WeakAPtr;
|
|
||||||
APtr a1 = std::make_shared<PrivateBase>();
|
APtr a1 = std::make_shared<PrivateBase>();
|
||||||
assert(a1.use_count() == 1);
|
assert(a1.use_count() == 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user