summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 8689785..70d0d96 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1399,7 +1399,7 @@ kwsys_std::string SystemTools::GetFilenameLastExtension(const kwsys_std::string&
{
kwsys_std::string name = SystemTools::GetFilenameName(filename);
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);
}