summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-13 15:29:16 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-13 15:29:16 (GMT)
commit311a9c9147cf03e8a4b33fb1500ad9a73d07e540 (patch)
tree2e22176bcb69969e911e351991557a5e83913d2d /hl/c++
parentaac7605be02aa7be10e7681c1f7af03b11e7ddc2 (diff)
downloadhdf5-311a9c9147cf03e8a4b33fb1500ad9a73d07e540.zip
hdf5-311a9c9147cf03e8a4b33fb1500ad9a73d07e540.tar.gz
hdf5-311a9c9147cf03e8a4b33fb1500ad9a73d07e540.tar.bz2
Fix shadoweed type
Diffstat (limited to 'hl/c++')
-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;