]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Qualify call to prevent ADL
authorJonathan Wakely <jwakely@redhat.com>
Wed, 31 Jul 2019 19:56:12 +0000 (20:56 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 31 Jul 2019 19:56:12 +0000 (20:56 +0100)
Backport from mainline
2019-07-31  Jonathan Wakely  <jwakely@redhat.com>

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

From-SVN: r273948

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

index 02db69786221b6178277d95c9d43967103a450aa..78504c9d1023699bd8bce99a2ecb2709e8b7621d 100644 (file)
@@ -1,3 +1,11 @@
+2019-07-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backport from mainline
+       2019-07-31  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/memory (make_obj_using_allocator): Qualify call to
+       uses_allocator_construction_args.
+
 2019-07-31  Jonathan Wakely  <jwakely@redhat.com>
 
        Backport from mainline
index 8614abe1d3acc2f443d331e1437c9584bf6844ad..b6950c76089a3a11ef9d38575906de48a72670ea 100644 (file)
@@ -345,8 +345,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>