diff --git a/code/nel/include/nel/misc/ucstring.h b/code/nel/include/nel/misc/ucstring.h index a33c19fda..0c336d598 100644 --- a/code/nel/include/nel/misc/ucstring.h +++ b/code/nel/include/nel/misc/ucstring.h @@ -184,6 +184,11 @@ public: return res; } + ucstring substr(size_type pos = 0, size_type n = npos) const + { + return ucstringbase::substr(pos, n); + } + // for luabind (can't bind to 'substr' else ...) ucstring luabind_substr(size_type pos = 0, size_type n = npos) const {