summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/memory
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-27 21:16:37 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-27 21:16:37 +0000
commitf85e2e218a187944a67e0870c8b433006b06c133 (patch)
treec50f0bc0b05068907390994591e2c1ac12976745 /libcxx/test/std/utilities/memory
parent83012b4721d53ddc8052f44ad4bd31ea77a22b0b (diff)
downloadbcm5719-llvm-f85e2e218a187944a67e0870c8b433006b06c133.tar.gz
bcm5719-llvm-f85e2e218a187944a67e0870c8b433006b06c133.zip
[libcxx] [test] Remove an unused local typedef in enable_shared_from_this.pass.cpp.
Trivial change, committed without review. llvm-svn: 309322
Diffstat (limited to 'libcxx/test/std/utilities/memory')
-rw-r--r--libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp
index eb0d0a955fc..26a7d3a94d9 100644
--- a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp
+++ b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp
@@ -80,7 +80,6 @@ int main()
}
{
typedef std::shared_ptr<PrivateBase> APtr;
- typedef std::weak_ptr<PrivateBase> WeakAPtr;
APtr a1 = std::make_shared<PrivateBase>();
assert(a1.use_count() == 1);
}
OpenPOWER on IntegriCloud