summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-03 02:33:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-03 02:33:57 (GMT)
commitbe375b1bcd8cddfaa6e0d444e7c28612ac1f27be (patch)
tree84fda9344356f8d61bd8cccde1b4f3380f78e223
parent8aa178639c6923a3bef89f70a74c0767ec79f401 (diff)
downloadCMake-be375b1bcd8cddfaa6e0d444e7c28612ac1f27be.zip
CMake-be375b1bcd8cddfaa6e0d444e7c28612ac1f27be.tar.gz
CMake-be375b1bcd8cddfaa6e0d444e7c28612ac1f27be.tar.bz2
ENH: fix std in kwsys, has to be kwsys_stl
-rw-r--r--Source/kwsys/Registry.cxx1
-rw-r--r--Source/kwsys/SystemTools.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/kwsys/Registry.cxx b/Source/kwsys/Registry.cxx
index 414b066..3c0be26 100644
--- a/Source/kwsys/Registry.cxx
+++ b/Source/kwsys/Registry.cxx
@@ -267,7 +267,6 @@ bool Registry::DeleteValue(const char *subkey, const char *key)
if ( !this->Open(this->GetTopLevel(), subkey,
Registry::READWRITE) )
{
- std::cerr << "Failed to open\n";
return res;
}
open = true;
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index abc3cd1..118f74d 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1923,7 +1923,7 @@ kwsys_stl::string SystemTools::FindProgram(
{
return "";
}
- std::string ext = SystemTools::GetExecutableExtension();
+ kwsys_stl::string ext = SystemTools::GetExecutableExtension();
if(ext.size())
{
unsigned int len = strlen(name);