2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jul 2000 08:20:06 +0000 (08:20 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jul 2000 08:20:06 +0000 (08:20 +0000)
* std/valarray_array.h(__valarray_sum): Make inline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35071 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++/ChangeLog
libstdc++/std/valarray_array.h

index 04eac45..07f5c0f 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * std/valarray_array.h(__valarray_sum): Make inline.
+
 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
 
        * std/valarray_array.h (__valarray_get_memory,
index eb66463..bb429b0 100644 (file)
@@ -281,7 +281,7 @@ __valarray_copy (const _Tp* __restrict__ __a, size_t __n,
 
   // Compute the product of all elements in range [__f, __l)
   template<typename _Tp>
-  _Tp
+  inline _Tp
   __valarray_product(const _Tp* __restrict__ __f,
                      const _Tp* __restrict__ __l)
   {