dirname should not return an empty string

This commit is contained in:
Antonio SJ Musumeci 2020-12-18 15:29:36 -05:00
parent 861edff49a
commit f50812a9ce
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ namespace fs
dir_has_defaults(const std::string &fullpath_)
{
int rv;
std::string dirpath;
std::string dirpath;
dirpath = fs::path::dirname(fullpath_);