summaryrefslogtreecommitdiffstats
path: root/c++/src/H5StrType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5StrType.cpp')
-rw-r--r--c++/src/H5StrType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5StrType.cpp b/c++/src/H5StrType.cpp
index 849f345..bbf2bf5 100644
--- a/c++/src/H5StrType.cpp
+++ b/c++/src/H5StrType.cpp
@@ -102,7 +102,7 @@ StrType::StrType( const int dummy, const size_t& size ) : AtomType()
{
// use DataType::copy to make a copy of the string predefined type
// then set its length
- copy(H5T_C_S1);
+ copy(PredType::C_S1);
setSize(size);
}