]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/debug/deque
re PR libstdc++/25191 (exception_defines.h #defines try/catch)
[thirdparty/gcc.git] / libstdc++-v3 / include / debug / deque
index 845e0dcaaf24ca5bba8f82aa63bd85841eaec474..2003734eca97931a277cd639d22d28ea46900448 100644 (file)
@@ -1,6 +1,6 @@
 // Debugging deque implementation -*- C++ -*-
 
-// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -416,12 +416,12 @@ namespace __debug
                iterator __victim = __position++;
                __victim._M_invalidate();
              }
-           try
+           __try
              {
                return iterator(_Base::erase(__first.base(), __last.base()),
                                this);
              }
-           catch(...)
+           __catch(...)
              {
                this->_M_revalidate_singular();
                __throw_exception_again;