diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-04 21:03:31 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-10-05 13:42:46 -0700 |
commit | 70214054e84b920ca3bea5119bd5d1456c809054 (patch) | |
tree | 0a9383d460c8988f788f4ef7adcd567526b35a75 /src/strings/fstring.cpp | |
parent | caae1e38d0d239f4f7088a64526fe1d2f6587999 (diff) | |
download | tmwa-70214054e84b920ca3bea5119bd5d1456c809054.tar.gz tmwa-70214054e84b920ca3bea5119bd5d1456c809054.tar.bz2 tmwa-70214054e84b920ca3bea5119bd5d1456c809054.tar.xz tmwa-70214054e84b920ca3bea5119bd5d1456c809054.zip |
Remove owning slices
They were hardly ever used, hid errors, and were obsoleted by baseful x'es.
Diffstat (limited to 'src/strings/fstring.cpp')
-rw-r--r-- | src/strings/fstring.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/strings/fstring.cpp b/src/strings/fstring.cpp index 4b20852..32d19fe 100644 --- a/src/strings/fstring.cpp +++ b/src/strings/fstring.cpp @@ -85,25 +85,6 @@ namespace strings return &*begin(); } - TS FS::oslice_t(size_t o) const - { return TS(*this, o); } - SS FS::oslice_h(size_t o) const - { return SS(*this, 0, o); } - TS FS::orslice_t(size_t no) const - { return TS(*this, size() - no); } - SS FS::orslice_h(size_t no) const - { return SS(*this, 0, size() - no); } - TS FS::oislice_t(iterator it) const - { return TS(*this, it - begin()); } - SS FS::oislice_h(iterator it) const - { return SS(*this, 0, it - begin()); } - SS FS::olslice(size_t o, size_t l) const - { return SS(*this, o, o + l); } - SS FS::opslice(size_t b, size_t e) const - { return SS(*this, b, e); } - SS FS::oislice(iterator b, iterator e) const - { return SS(*this, b - begin(), e - begin()); } - const char *decay_for_printf(const FString& fs) { return fs.c_str(); |