diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-11 16:17:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-11 16:17:01 +0200 |
commit | c960fa4f829c3689c42b9cf74a086e6f82ffb65a (patch) | |
tree | 61a6acc623ee91d6ca8e848db490844374b5bd7e | |
parent | 2355231b7ef1adc7352e32d5578641e0279b78a1 (diff) |
Remove stray references
-rw-r--r-- | odb/vector.ixx | 8 |
1 files 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<T, A>::reference vector<T, A>:: 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<T, A>::reference vector<T, A>:: 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<T, A>::reference vector<T, A>:: 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<T, A>::reference vector<T, A>:: modify_back () { - reference& r (v_.back ()); + reference r (v_.back ()); if (_tracking ()) impl_.modify (v_.size () - 1); return r; |