summaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings')
-rw-r--r--src/strings/base.hpp1
-rw-r--r--src/strings/base.tcc1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/strings/base.hpp b/src/strings/base.hpp
index b6b3df0..7020b98 100644
--- a/src/strings/base.hpp
+++ b/src/strings/base.hpp
@@ -107,7 +107,6 @@ namespace strings
// the existence of this has led to bugs
// it's not really sane from a unicode perspective anyway ...
// prefer startswith or extract
- __attribute__((deprecated))
char operator[](size_t i) const;
char front() const;
char back() const;
diff --git a/src/strings/base.tcc b/src/strings/base.tcc
index 83dff70..47d1d1e 100644
--- a/src/strings/base.tcc
+++ b/src/strings/base.tcc
@@ -145,7 +145,6 @@ namespace strings
}
template<class T, class O, class P>
- __attribute__((deprecated))
char _crtp_string<T, O, P>::operator[](size_t i) const
{
return begin()[i];