* include/std/memory (make_obj_using_allocator): Qualify call to
        uses_allocator_construction_args.

Tested x86_64-linux, committed to trunk

Backport to gcc-9-branch to follow.


commit 0c3543005cee13158806fe2909de9920522d2f9e
Author: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Jul 31 19:08:56 2019 +0000

    Qualify call to prevent ADL
    
            * include/std/memory (make_obj_using_allocator): Qualify call to
            uses_allocator_construction_args.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@273945 
138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory
index 3036802f8c3..0a483d2d8d1 100644
--- a/libstdc++-v3/include/std/memory
+++ b/libstdc++-v3/include/std/memory
@@ -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>

Reply via email to