summaryrefslogtreecommitdiffstats
path: root/hl/c++/test/ptableTest.cpp
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-13 15:25:24 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:34:20 (GMT)
commit21de7f28184392afecddc3838ec955ae7222e70b (patch)
tree69f90fe535896ffe7b4fa453ea060c8ac51d3dac /hl/c++/test/ptableTest.cpp
parent8521689caaf7e039abdc7d2cca41986655b89990 (diff)
downloadhdf5-21de7f28184392afecddc3838ec955ae7222e70b.zip
hdf5-21de7f28184392afecddc3838ec955ae7222e70b.tar.gz
hdf5-21de7f28184392afecddc3838ec955ae7222e70b.tar.bz2
Fix shadowed type
Diffstat (limited to 'hl/c++/test/ptableTest.cpp')
-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;