mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
Rolling 20220925
This commit is contained in:
@@ -305,6 +305,9 @@ string getDirectory(string filename)
|
||||
{
|
||||
size_t lastpos = filename.find('/');
|
||||
|
||||
if (lastpos == string::npos)
|
||||
lastpos = filename.find('\\');
|
||||
|
||||
if (lastpos == string::npos)
|
||||
return "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user