r231701 - in /branches/gcc-4_9-branch/libstdc++...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Dec 16 17:09:00 GMT 2015


Author: redi
Date: Wed Dec 16 17:09:47 2015
New Revision: 231701

URL: https://gcc.gnu.org/viewcvs?rev=231701&root=gcc&view=rev
Log:
Fix ambiguity with multiple enable_shared_from_this bases

	PR libstdc++/56383
	* testsuite/20_util/enable_shared_from_this/56383.cc: New.
	* include/bits/shared_ptr_base.h (__enable_shared_from_this): Make
	friend declaration match previous declaration of
	__enable_shared_from_this_helper.
	* include/bits/shared_ptr.h (enable_shared_from_this): Likewise.

Added:
    branches/gcc-4_9-branch/libstdc++-v3/testsuite/20_util/enable_shared_from_this/56383.cc
Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/shared_ptr.h
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/shared_ptr_base.h



More information about the Libstdc++-cvs mailing list