* include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Aug 2015 18:04:42 +0000 (19:04 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 18 Aug 2015 18:04:42 +0000 (19:04 +0100)
From-SVN: r226985

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ptr_traits.h

index fed9a28cb3784424290a8bc68ec7625791ff567b..351c66f4f085f30c9b01712834927c153b0ee194 100644 (file)
@@ -1,5 +1,7 @@
 2015-08-18  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
+
        PR libstdc++/67066
        * doc/xml/manual/configure.xml (manual.intro.setup.configure): Add
        caveats for --enable-concept-checks. Improve link text.
index 84cc4da7b9ae10ed9236e2adf24e7ed8e2a22582..d1bc44929320d972b9a59f2da5c74b21a8cea61e 100644 (file)
@@ -32,7 +32,7 @@
 
 #if __cplusplus >= 201103L
 
-#include <type_traits>
+#include <bits/move.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {