Move split() to OSUtils since it is not used in core.
This commit is contained in:
parent
673c0c811e
commit
ccdd4ffda7
8 changed files with 61 additions and 61 deletions
|
@ -144,7 +144,7 @@ bool JSONDB::_isValidObjectName(const std::string &n)
|
|||
|
||||
std::string JSONDB::_genPath(const std::string &n,bool create)
|
||||
{
|
||||
std::vector<std::string> pt(Utils::split(n.c_str(),"/","",""));
|
||||
std::vector<std::string> pt(OSUtils::split(n.c_str(),"/","",""));
|
||||
if (pt.size() == 0)
|
||||
return std::string();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue