stl_algo.h: Minor additional reformat, add copyright year.
authorPaolo Carlini <pcarlini@suse.de>
Sat, 31 Jan 2004 23:51:44 +0000 (23:51 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 31 Jan 2004 23:51:44 +0000 (23:51 +0000)
2004-01-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h: Minor additional reformat, add
copyright year.
* include/bits/stl_algobase.h: Add copyright year.

From-SVN: r77058

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/bits/stl_algobase.h

index ccabde1db6e339b6e3fcaaf1bbd6afb96255c06b..08016eb481f4ee4da1cc77344af019113582a400 100644 (file)
@@ -1,3 +1,9 @@
+2004-01-31  Paolo Carlini  <pcarlini@suse.de>
+
+       * include/bits/stl_algo.h: Minor additional reformat, add
+       copyright year.
+       * include/bits/stl_algobase.h: Add copyright year.
+
 2004-01-31  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/stl_algo.h: Wrap overlong lines, constify
index 9f0f376f613662126183176924429ba8f450189f..1ea8902fbef9525d561cc51728787514c89571ff 100644 (file)
@@ -1,6 +1,6 @@
 // Algorithm implementation -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004 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
@@ -2117,17 +2117,17 @@ namespace std
        return;
 
       for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i)
-      {
-       typename iterator_traits<_RandomAccessIterator>::value_type
-         __val = *__i;
-       if (__val < *__first)
-         {
-           std::copy_backward(__first, __i, __i + 1);
-           *__first = __val;
-         }
-       else
-         std::__unguarded_linear_insert(__i, __val);
-      }
+       {
+         typename iterator_traits<_RandomAccessIterator>::value_type
+           __val = *__i;
+         if (__val < *__first)
+           {
+             std::copy_backward(__first, __i, __i + 1);
+             *__first = __val;
+           }
+         else
+           std::__unguarded_linear_insert(__i, __val);
+       }
     }
 
   /**
@@ -2143,17 +2143,17 @@ namespace std
       if (__first == __last) return;
 
       for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i)
-      {
-       typename iterator_traits<_RandomAccessIterator>::value_type
-         __val = *__i;
-       if (__comp(__val, *__first))
-         {
-           std::copy_backward(__first, __i, __i + 1);
-           *__first = __val;
-         }
-       else
-         std::__unguarded_linear_insert(__i, __val, __comp);
-      }
+       {
+         typename iterator_traits<_RandomAccessIterator>::value_type
+           __val = *__i;
+         if (__comp(__val, *__first))
+           {
+             std::copy_backward(__first, __i, __i + 1);
+             *__first = __val;
+           }
+         else
+           std::__unguarded_linear_insert(__i, __val, __comp);
+       }
     }
 
   /**
index 3a1441f5801de8d36724bae392c03a45596c7530..d1764ac345be27759a497613b7a1878eddba30ab 100644 (file)
@@ -1,6 +1,6 @@
 // Bits and pieces used in algorithms -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2004 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