r230883 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Nov 25 16:11:00 GMT 2015


Author: redi
Date: Wed Nov 25 16:11:33 2015
New Revision: 230883

URL: https://gcc.gnu.org/viewcvs?rev=230883&root=gcc&view=rev
Log:
Backport shrink_to_fit() fix for -fno-exceptions

2015-09-17  Jonathan Wakely  <jwakely@redhat.com>

	* include/bits/allocator.h (__shrink_to_fit_aux<T, true>::_S_do_it):
	Do nothing if exceptions are disabled.
	* include/bits/basic_string.h (basic_string::shrink_to_fit): Likewise.

Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/bits/allocator.h
    branches/gcc-5-branch/libstdc++-v3/include/bits/basic_string.h



More information about the Libstdc++-cvs mailing list