summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Idtemplates.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-02-16 00:49:46 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-02-16 00:49:46 (GMT)
commit855aa23823a1091262524773626de3d920838e72 (patch)
tree6e8408e2341b007323405575051f39c76c61ead9 /c++/src/H5Idtemplates.h
parent7b3df5b3f4bee819277e8a72e208437eb6ed5f26 (diff)
downloadhdf5-855aa23823a1091262524773626de3d920838e72.zip
hdf5-855aa23823a1091262524773626de3d920838e72.tar.gz
hdf5-855aa23823a1091262524773626de3d920838e72.tar.bz2
[svn-r4977]
Purpose: Adding support for dll Description: Added __DLLCPP__ to all public classes and templates. Added #include "H5Include.h" to H5RefCounter.cpp because of the use of DLLCPP in .h file and it needs the following chain: H5Include.h/hdf5.h/H5public.h/H5api_adpt.h Added #pragma warning(disable: 4251) to H5Exception.h to eliminate this warning on private data members of type 'string.' This occurs because 'string' is not yet instantiated at compilation time; however, since the class is exported, the warning is harmless. Changed this member function's parameter to be passed as reference. from: void CompType::insertMember( const string name,... to: void CompType::insertMember( const string& name,... Platforms tested: Linux 6.2 (eirene) Windows 2000
Diffstat (limited to 'c++/src/H5Idtemplates.h')
-rw-r--r--c++/src/H5Idtemplates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Idtemplates.h b/c++/src/H5Idtemplates.h
index af9bccc..dbf5348 100644
--- a/c++/src/H5Idtemplates.h
+++ b/c++/src/H5Idtemplates.h
@@ -13,7 +13,7 @@ namespace H5 {
// a member function so it can be template to work around that problem.
template <class Type>
-void resetIdComponent(
+__DLLCPP__ void resetIdComponent(
Type* obj ) // pointer to object to be reset
{
if( obj->noReference()) // ref count of this object is decremented here