variant: include bits/move.h for std::addressof.
authorTim Shen <timshen@google.com>
Mon, 5 Sep 2016 19:52:11 +0000 (19:52 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Mon, 5 Sep 2016 19:52:11 +0000 (19:52 +0000)
2016-09-05  Tim Shen  <timshen@google.com>

* include/std/variant: include bits/move.h for std::addressof.

From-SVN: r240001

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

index b89330bdfddb881e01e019017322e7c6972d803c..517db5662f7034ef5079a59334b68b9f25c50ec8 100644 (file)
@@ -1,3 +1,7 @@
+2016-09-05  Tim Shen  <timshen@google.com>
+
+       * include/std/variant: include bits/move.h for std::addressof.
+
 2016-09-05  Mikhail Strelnikov  <mikhail.strelnikov@gmail.com>
 
        * include/std/variant (_Variant_storage::_M_storage()): Use std::addressof
index be254382e2c9b14b58d3ac0cdaec1e67fee7c4ae..7dbb533dd83b46c23d2f6938a9cc9bbcf478fb22 100644 (file)
@@ -38,6 +38,7 @@
 #include <type_traits>
 #include <utility>
 #include <bits/enable_special_members.h>
+#include <bits/move.h>
 #include <bits/uses_allocator.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)