On 07/01/16 15:01 +0000, Jonathan Wakely wrote:
A bumper crop of addressof bugs where I was using & but should have
used std::addressof.

This caused a regression, fixed like so.

Tested x86_64-linux, committed to trunk.


commit 8f7a4cbf1cdae97578a6b4236af532879be15e9d
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Jan 8 12:05:44 2016 +0000

    Add missing include for std::__addressof
    
    	PR libstdc++/69160
    	* include/bits/uses_allocator.h: Add missing include.

diff --git a/libstdc++-v3/include/bits/uses_allocator.h b/libstdc++-v3/include/bits/uses_allocator.h
index b3c3f60..70ba007 100644
--- a/libstdc++-v3/include/bits/uses_allocator.h
+++ b/libstdc++-v3/include/bits/uses_allocator.h
@@ -30,6 +30,7 @@
 #else
 
 #include <type_traits>
+#include <bits/move.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {

Reply via email to