From c960fa4f829c3689c42b9cf74a086e6f82ffb65a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Feb 2013 16:17:01 +0200 Subject: Remove stray references --- odb/vector.ixx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/odb/vector.ixx b/odb/vector.ixx index 65c85ac..1fd9a1b 100644 --- a/odb/vector.ixx +++ b/odb/vector.ixx @@ -137,7 +137,7 @@ namespace odb inline typename vector::reference vector:: modify (size_type n) { - reference& r (v_[n]); + reference r (v_[n]); if (_tracking ()) impl_.modify (n); return r; @@ -147,7 +147,7 @@ namespace odb inline typename vector::reference vector:: modify_at (size_type n) { - reference& r (v_.at (n)); + reference r (v_.at (n)); if (_tracking ()) impl_.modify (n); return r; @@ -157,7 +157,7 @@ namespace odb inline typename vector::reference vector:: modify_front () { - reference& r (v_.front ()); + reference r (v_.front ()); if (_tracking ()) impl_.modify (0); return r; @@ -167,7 +167,7 @@ namespace odb inline typename vector::reference vector:: modify_back () { - reference& r (v_.back ()); + reference r (v_.back ()); if (_tracking ()) impl_.modify (v_.size () - 1); return r; -- cgit v1.1