diff options
author | gumi <git@gumi.ca> | 2018-03-05 10:33:42 -0500 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-03-05 11:10:24 -0500 |
commit | b715733df6e93ca981b976d667809ac3bc60928f (patch) | |
tree | 25f195f708b198011db5aa3d395c1cc566fe8dc7 /src/strings | |
parent | cb7432c72aa2e52ac48cbf98c51e23f068eb3d36 (diff) | |
download | tmwa-b715733df6e93ca981b976d667809ac3bc60928f.tar.gz tmwa-b715733df6e93ca981b976d667809ac3bc60928f.tar.bz2 tmwa-b715733df6e93ca981b976d667809ac3bc60928f.tar.xz tmwa-b715733df6e93ca981b976d667809ac3bc60928f.zip |
un-deprecate operator[] on pseudo-strings
There's no reason for it to be deprecated in the first place
Diffstat (limited to 'src/strings')
-rw-r--r-- | src/strings/base.hpp | 1 | ||||
-rw-r--r-- | src/strings/base.tcc | 1 |
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]; |