Replace a nested namespace used for overload resolution with a struct. Richard Smith...
authorMarshall Clow <mclow.lists@gmail.com>
Thu, 11 May 2017 14:00:54 +0000 (14:00 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Thu, 11 May 2017 14:00:54 +0000 (14:00 +0000)
llvm-svn: 302800

libcxx/include/memory

index bb1b415..4201c92 100644 (file)
@@ -996,11 +996,11 @@ struct __rebind_pointer {
 
 // allocator_traits
 
-namespace __has_pointer_type_imp
+struct __has_pointer_type_imp
 {
     template <class _Up> static __two __test(...);
     template <class _Up> static char __test(typename _Up::pointer* = 0);
-}
+};
 
 template <class _Tp>
 struct __has_pointer_type