* include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
for -fno-exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156460
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
+ for -fno-exceptions.
+
2010-02-02 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Fix for -fno-exceptions.
void
shrink_to_fit()
{
- try
+ __try
{ this->reserve(0); }
- catch(...)
+ __catch(...)
{ }
}
#endif