summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-03-01 21:10:29 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-03-01 21:10:29 (GMT)
commit0bb7111f436731fc765b00c8ef17368d1f57b126 (patch)
treee5e64bc9e8e475c24ccc01da98c88ffb19d60553 /c++/src/H5Exception.h
parent3f4184c6d3795acad440206f0bd88d89df21a137 (diff)
downloadhdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.zip
hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.gz
hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.bz2
[svn-r5030]
Purpose: Small bug fixing Description: Replaced NULL by 0 for initializing or passing null "string". The problem showed up on platinum. Platforms tested: SunOS 5.7 (arabica) Linux 6.2 (eirene) IA-32 Linux Cluster (platinum)
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r--c++/src/H5Exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index dc55844..308d958 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -15,7 +15,7 @@ class __DLLCPP__ Exception {
// Creates an exception with a function name where the failure occurs
// and an optional detailed message
- Exception( const string& func_name, const string& message = NULL);
+ Exception( const string& func_name, const string& message = 0);
Exception( const char* func_name, const char* message = NULL);
// copy constructor