From 70214054e84b920ca3bea5119bd5d1456c809054 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 4 Oct 2013 21:03:31 -0700 Subject: Remove owning slices They were hardly ever used, hid errors, and were obsoleted by baseful x'es. --- src/common/mmo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/mmo.hpp') diff --git a/src/common/mmo.hpp b/src/common/mmo.hpp index 16acb88..0e1a7d0 100644 --- a/src/common/mmo.hpp +++ b/src/common/mmo.hpp @@ -65,7 +65,7 @@ class MapName : public strings::_crtp_string VString<15> _impl; public: MapName() = default; - MapName(VString<15> v) : _impl(v.oislice_h(std::find(v.begin(), v.end(), '.'))) {} + MapName(VString<15> v) : _impl(v.xislice_h(std::find(v.begin(), v.end(), '.'))) {} iterator begin() const { return &*_impl.begin(); } iterator end() const { return &*_impl.end(); } -- cgit v1.2.3-60-g2f50