mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-30 11:21:01 +00:00
Remove use of vector/string from core project
* This also affects the drivers via interfaces e.g. IReplayDriver and some utility functions.
This commit is contained in:
@@ -160,8 +160,8 @@ void split(const rdcstr &in, rdcarray<rdcstr> &out, const char sep)
|
||||
out.clear();
|
||||
}
|
||||
|
||||
size_t begin = 0;
|
||||
int end = in.find(sep);
|
||||
int32_t begin = 0;
|
||||
int32_t end = in.find(sep);
|
||||
|
||||
while(end >= 0)
|
||||
{
|
||||
@@ -171,7 +171,7 @@ void split(const rdcstr &in, rdcarray<rdcstr> &out, const char sep)
|
||||
end = in.find(sep, begin);
|
||||
}
|
||||
|
||||
if(begin < in.size() || (begin == in.size() && in.back() == sep))
|
||||
if(begin < in.count() || (begin == in.count() && in.back() == sep))
|
||||
out.push_back(in.substr(begin));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user