[libcxx] r309322 - [libcxx] [test] Remove an unused local typedef in enable_shared_from_this.pass.cpp.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 14:16:37 PDT 2017


Author: stl_msft
Date: Thu Jul 27 14:16:37 2017
New Revision: 309322

URL: http://llvm.org/viewvc/llvm-project?rev=309322&view=rev
Log:
[libcxx] [test] Remove an unused local typedef in enable_shared_from_this.pass.cpp.

Trivial change, committed without review.

Modified:
    libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp

Modified: libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp?rev=309322&r1=309321&r2=309322&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp Thu Jul 27 14:16:37 2017
@@ -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);
     }




More information about the cfe-commits mailing list