[libcxx] r300937 - Resolve unused local typedef warning in test.

Billy Robert O'Neal III via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 18:10:05 PDT 2017


Author: bion
Date: Thu Apr 20 20:10:04 2017
New Revision: 300937

URL: http://llvm.org/viewvc/llvm-project?rev=300937&view=rev
Log:
Resolve unused local typedef warning in test.

Modified:
    libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp?rev=300937&r1=300936&r2=300937&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp Thu Apr 20 20:10:04 2017
@@ -63,7 +63,6 @@ void
 test(SV sv, unsigned pos, unsigned n, const typename S::allocator_type& a)
 {
     typedef typename S::traits_type T;
-    typedef typename S::allocator_type A;
     if (pos <= sv.size())
     {
         S s2(sv, pos, n, a);




More information about the cfe-commits mailing list