ERR: std->kwsys_std.
This commit is contained in:
parent
4435e364b8
commit
51eb9596bc
@ -1399,7 +1399,7 @@ kwsys_std::string SystemTools::GetFilenameLastExtension(const kwsys_std::string&
|
|||||||
{
|
{
|
||||||
kwsys_std::string name = SystemTools::GetFilenameName(filename);
|
kwsys_std::string name = SystemTools::GetFilenameName(filename);
|
||||||
kwsys_std::string::size_type dot_pos = name.rfind(".");
|
kwsys_std::string::size_type dot_pos = name.rfind(".");
|
||||||
if(dot_pos != std::string::npos)
|
if(dot_pos != kwsys_std::string::npos)
|
||||||
{
|
{
|
||||||
return name.substr(dot_pos);
|
return name.substr(dot_pos);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user