OSDN Git Service

2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / ext / slist
index 7ae9ffb..ea6c3c0 100644 (file)
@@ -1,6 +1,7 @@
 // Singly-linked list implementation -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2004, 2005, 2007, 2008, 2009
+// Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -327,12 +328,12 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       _M_create_node(const value_type& __x)
       {
        _Node* __node = this->_M_get_node();
-       try
+       __try
          {
            get_allocator().construct(&__node->_M_data, __x);
            __node->_M_next = 0;
          }
-       catch(...)
+       __catch(...)
          {
            this->_M_put_node(__node);
            __throw_exception_again;
@@ -344,12 +345,12 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       _M_create_node()
       {
        _Node* __node = this->_M_get_node();
-       try
+       __try
          {
            get_allocator().construct(&__node->_M_data, value_type());
            __node->_M_next = 0;
          }
-       catch(...)
+       __catch(...)
          {
            this->_M_put_node(__node);
            __throw_exception_again;