diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-13 16:07:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-04-13 16:07:53 (GMT) |
commit | e9ad3bad4e8f1331ba28855be283fbd023da1ff0 (patch) | |
tree | 4610f35a14d9664347e477fe11116053aa133eb3 | |
parent | 4688f0ac0741c8c83cb72d8fcfd52cb8032751dc (diff) | |
parent | ef70c1695d0cccb4ba379abe3969ac2fec0d4ebe (diff) | |
download | hdf5-e9ad3bad4e8f1331ba28855be283fbd023da1ff0.zip hdf5-e9ad3bad4e8f1331ba28855be283fbd023da1ff0.tar.gz hdf5-e9ad3bad4e8f1331ba28855be283fbd023da1ff0.tar.bz2 |
Merge pull request #2509 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ef70c1695d0cccb4ba379abe3969ac2fec0d4ebe':
Fix shadowed type
-rw-r--r-- | hl/c++/test/ptableTest.cpp | 6 |
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; |