diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7cb30669680..86477104544 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-04-08 Gabriel Dos Reis + + * include/bits/std_valarray.h(valarray<>::operator[]): Make + inline. + 2001-04-06 Gabriel Dos Reis * testsuite/25_algorithms/equal.cc: New test. diff --git a/libstdc++-v3/include/bits/std_valarray.h b/libstdc++-v3/include/bits/std_valarray.h index 99f17e482b6..15a58421d8e 100644 --- a/libstdc++-v3/include/bits/std_valarray.h +++ b/libstdc++-v3/include/bits/std_valarray.h @@ -241,7 +241,7 @@ namespace std { return _M_data[__i]; } template - _Tp& + inline _Tp& valarray<_Tp>::operator[] (size_t __i) { return _M_data[__i]; }