diff options
-rw-r--r-- | o3tl/inc/o3tl/sorted_vector.hxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/o3tl/inc/o3tl/sorted_vector.hxx b/o3tl/inc/o3tl/sorted_vector.hxx index b6f0d3ac6e8a..0386680a9914 100644 --- a/o3tl/inc/o3tl/sorted_vector.hxx +++ b/o3tl/inc/o3tl/sorted_vector.hxx @@ -94,37 +94,16 @@ public: return base_t::end(); } - // Return a value rather than a reference, so that the vector cannot be directly updated, - // and the sorted invariant violated. - Value front() - { - return base_t::front(); - } - const Value& front() const { return base_t::front(); } - // Return a value rather than a reference, so that the vector cannot be directly updated, - // and the sorted invariant violated. - Value back() - { - return base_t::back(); - } - const Value& back() const { return base_t::back(); } - // Return a value rather than a reference, so that the vector cannot be directly updated, - // and the sorted invariant violated. - Value operator[]( size_t index ) - { - return base_t::operator[]( index ); - } - const Value& operator[]( size_t index ) const { return base_t::operator[]( index ); |