Qualify another call in <variant>
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 May 2018 17:21:31 +0000 (18:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 May 2018 17:21:31 +0000 (18:21 +0100)
* include/std/variant (__erased_dtor): Qualify call to __get.

From-SVN: r260900

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

index 3068a08b3ec935f6abbfa8d7054f98f4831ff41d..762de9a763d6aff8f16de843f42e11d0566b0aa7 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-29  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/variant (__erased_dtor): Qualify call to __get.
+
 2018-05-27  François Dumont  <fdumont@gcc.gnu.org>
 
        * include/bits/stl_tree.h (_Rb_tree_impl(_Node_allocator&&)): New.
index c0212404bb2fee87108e31cbc56dad255d243214..63eafdd58e5ac909858187a82acfb21432a489ed 100644 (file)
@@ -249,7 +249,7 @@ namespace __variant
   template<typename _Variant, size_t _Np>
     void
     __erased_dtor(_Variant&& __v)
-    { std::_Destroy(std::__addressof(__get<_Np>(__v))); }
+    { std::_Destroy(std::__addressof(__variant::__get<_Np>(__v))); }
 
   template<typename _Lhs, typename _Rhs>
     void