This commit is contained in:
Brad Arant 2021-08-21 13:39:57 -07:00
parent 1632a41b3e
commit c10b760903

View File

@ -66,8 +66,8 @@ namespace coreutils {
std::vector<ZString> &ZString::split(ZString &delimiter, size_t maxSize) { std::vector<ZString> &ZString::split(ZString &delimiter, size_t maxSize) {
list.clear(); list.clear();
if(length == 0) { if(length == 0) {
list.push_back(ZString((char *)"")); list.push_back(ZString((char *)""));
return list; return list;
} }
char *end = data + length; char *end = data + length;