Qualify call to prevent ADL
authorJonathan Wakely <jwakely@redhat.com>
Wed, 31 Jul 2019 19:08:56 +0000 (20:08 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 31 Jul 2019 19:08:56 +0000 (20:08 +0100)
* include/std/memory (make_obj_using_allocator): Qualify call to
uses_allocator_construction_args.

From-SVN: r273945

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/memory

index edc551bbee03528608f2496a1fa5ee8b85bc1546..e213f1796c456ee4a4c5a45cc4a253c03e7628b2 100644 (file)
@@ -1,5 +1,8 @@
 2019-07-31  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/std/memory (make_obj_using_allocator): Qualify call to
+       uses_allocator_construction_args.
+
        P0631R4 Math Constants
        * include/Makefile.am: Add new header.
        * include/Makefile.in: Regenerate.
index 3036802f8c3eb1c3013dc1720ad85087e5202694..0a483d2d8d1a1287685cb5cc8a7d338a14e7fef3 100644 (file)
@@ -375,8 +375,9 @@ get_pointer_safety() noexcept { return pointer_safety::relaxed; }
     inline _Tp
     make_obj_using_allocator(const _Alloc& __a, _Args&&... __args)
     {
-      return std::make_from_tuple<_Tp>(uses_allocator_construction_args<_Tp>(
-           __a, std::forward<_Args>(__args)...));
+      return std::make_from_tuple<_Tp>(
+         std::uses_allocator_construction_args<_Tp>(__a,
+           std::forward<_Args>(__args)...));
     }
 
   template<typename _Tp, typename _Alloc, typename... _Args>