]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix type introduced with last-second change.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 May 2002 06:39:46 +0000 (06:39 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 May 2002 06:39:46 +0000 (06:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@5950 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/vector2d.h

index ee903918ba695950c2c06e1017397a61bd316456..b2345b2e6c42d2dbccbebc01360bbc9600da100b 100644 (file)
@@ -501,7 +501,7 @@ ConstRowAccessor (const vector2d<T>  &parent,
 
 template <typename T>
 inline
-T
+typename vector2d<T>::ConstRowAccessor::const_reference
 vector2d<T>::ConstRowAccessor::
 operator [] (const unsigned int column) const
 {
@@ -547,7 +547,7 @@ NonConstRowAccessor (vector2d<T>        &parent,
 
 template <typename T>
 inline
-T &
+typename vector2d<T>::NonConstRowAccessor::reference
 vector2d<T>::NonConstRowAccessor::
 operator [] (const unsigned int column) const
 {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.