summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-24 14:56:01 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-24 14:56:01 (GMT)
commit061b758c2948a94cf32f172119bcb5023d283750 (patch)
treea856deac61bad192a117f8b84c435efa40046d14 /hl/c++
parentb3b7ae087edbc20891a088db2f4e4f83e186c8b0 (diff)
downloadhdf5-061b758c2948a94cf32f172119bcb5023d283750.zip
hdf5-061b758c2948a94cf32f172119bcb5023d283750.tar.gz
hdf5-061b758c2948a94cf32f172119bcb5023d283750.tar.bz2
Description:
User's sample code used "not" instead of "!" and Windows does not like that. Fixed. Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test)
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/test/ptableTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp
index 68b040e..67efda5 100644
--- a/hl/c++/test/ptableTest.cpp
+++ b/hl/c++/test/ptableTest.cpp
@@ -634,7 +634,7 @@ int TestHDFFV_9758()
// Create a packet table
FL_PacketTable ptable(fileID, "/examplePacketTable", compound_type, 1);
- if (not ptable.IsValid())
+ if (!ptable.IsValid())
goto error;
// Add packets to the table