Skip to content
Snippets Groups Projects
Commit 18c83a6d authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Rewrite extractBaseNameWithoutExtension().

Use extractBaseName() now.
parent 9d83b34d
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,8 @@ std::string extractBaseName(std::string const& pathname)
std::string extractBaseNameWithoutExtension(std::string const& pathname)
{
return getFileNameFromPath(pathname, false);
std::string basename = extractBaseName(pathname);
return dropFileExtension(basename);
}
std::string getSuffixFromPath(const std::string &path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment