summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PredType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5PredType.cpp')
-rw-r--r--c++/src/H5PredType.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/c++/src/H5PredType.cpp b/c++/src/H5PredType.cpp
index fc18d73..69aae2a 100644
--- a/c++/src/H5PredType.cpp
+++ b/c++/src/H5PredType.cpp
@@ -14,9 +14,6 @@
#include <string>
#ifndef H5_NO_NAMESPACE
-#ifndef H5_NO_STD
- using std::string;
-#endif // H5_NO_STD
#endif
#include "H5Include.h"
@@ -238,7 +235,7 @@ void PredType::commit( H5Object& loc, const char* name )
throw DataTypeIException("PredType::commit", "Attempting to commit a predefined datatype. This operation is invalid" );
}
-void PredType::commit( H5Object& loc, const string& name )
+void PredType::commit( H5Object& loc, const H5_std::string& name )
{
commit( loc, name.c_str());
}