[libcxx] r278323 - Unbreak C++03 build.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 01:15:36 PDT 2016


Author: ericwf
Date: Thu Aug 11 03:15:35 2016
New Revision: 278323

URL: http://llvm.org/viewvc/llvm-project?rev=278323&view=rev
Log:
Unbreak C++03 build.

Modified:
    libcxx/trunk/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp

Modified: libcxx/trunk/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp?rev=278323&r1=278322&r2=278323&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp Thu Aug 11 03:15:35 2016
@@ -28,7 +28,6 @@
 
 #include "test_macros.h"
 #include "archetypes.hpp"
-using namespace ImplicitTypes; // Get implicitly archetypes
 
 int main()
 {
@@ -46,6 +45,7 @@ int main()
         static_assert(p.second == nullptr, "");
     }
     {
+        using NoDefault = ImplicitTypes::NoDefault;
         using P = std::pair<int, NoDefault>;
         static_assert(!std::is_default_constructible<P>::value, "");
         using P2 = std::pair<NoDefault, int>;




More information about the cfe-commits mailing list