summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-13 15:30:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-13 15:30:36 (GMT)
commit60f1dc597b6dcd2965c50ad28c321d7c1f896896 (patch)
treef0b3a093c93fd648377ba7722d044b4b92ed5aae
parent67445108ca5eafe148902f16f5c0debe15b80f66 (diff)
downloadhdf5-60f1dc597b6dcd2965c50ad28c321d7c1f896896.zip
hdf5-60f1dc597b6dcd2965c50ad28c321d7c1f896896.tar.gz
hdf5-60f1dc597b6dcd2965c50ad28c321d7c1f896896.tar.bz2
Fix shadowed type
-rw-r--r--hl/c++/test/ptableTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp
index e873503..fd85828 100644
--- a/hl/c++/test/ptableTest.cpp
+++ b/hl/c++/test/ptableTest.cpp
@@ -142,7 +142,7 @@ int TestCompoundDatatype()
HDfflush(stdout);
/* Create compound datatype */
- typedef struct compoundType
+ typedef struct
{
short a, b, c;
int e;
@@ -479,7 +479,7 @@ int SystemTest()
/* Creating two inter-related datatypes. Create two datasets and put
* one datatype in each. */
- typedef struct compoundType
+ typedef struct
{
short a, b, c;
int e;
@@ -492,7 +492,7 @@ int SystemTest()
H5Tinsert(dtypeID1, "charlie", HOFFSET( compoundType, c ), H5T_NATIVE_SHORT);
H5Tinsert(dtypeID1, "ebert", HOFFSET( compoundType, e ), H5T_NATIVE_INT);
- typedef struct cType2
+ typedef struct
{
char f;
compoundType g;