summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Library.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2015-10-08 19:44:41 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2015-10-08 19:44:41 (GMT)
commit74ab402e3eb08b53dbf2ad7d3a27b51cfae87f5b (patch)
tree9d3f0a526647180945d894634c8d437841a8392b /c++/src/H5Library.cpp
parent2bc3773209031533d5906c255888a82f3a5aab77 (diff)
downloadhdf5-74ab402e3eb08b53dbf2ad7d3a27b51cfae87f5b.zip
hdf5-74ab402e3eb08b53dbf2ad7d3a27b51cfae87f5b.tar.gz
hdf5-74ab402e3eb08b53dbf2ad7d3a27b51cfae87f5b.tar.bz2
[svn-r28008] Description:
Put back an unused name (need_cleanup) to avoid breaking compatibility in this release. Will do it when there are others as well. Platforms tested: Linux/32 2.6 (jam) - very minor
Diffstat (limited to 'c++/src/H5Library.cpp')
-rw-r--r--c++/src/H5Library.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/c++/src/H5Library.cpp b/c++/src/H5Library.cpp
index e7e9fb6..552f276 100644
--- a/c++/src/H5Library.cpp
+++ b/c++/src/H5Library.cpp
@@ -38,6 +38,12 @@ namespace H5 {
#endif
#ifndef DOXYGEN_SHOULD_SKIP_THIS
+// This static variable will be set to true when dontAtExit is called
+// - unused, will be removed in future releases.
+bool H5Library::need_cleanup = false;
+
+// IdComponent default constructor instantiates this object to register cleanup
+// functions before any global constant is created.
H5Library* H5Library::instance = 0;
#endif // DOXYGEN_SHOULD_SKIP_THIS