summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2008-05-21 00:00:08 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2008-05-21 00:00:08 (GMT)
commit831fd1712cf14ead50d9d42b1e5dcb014910b0d4 (patch)
treed93eb55c771820ace8642abe6e599878906e5bdc /c++
parent69929158f57ea0c97c13ba070f035f1fd8f45ec5 (diff)
downloadhdf5-831fd1712cf14ead50d9d42b1e5dcb014910b0d4.zip
hdf5-831fd1712cf14ead50d9d42b1e5dcb014910b0d4.tar.gz
hdf5-831fd1712cf14ead50d9d42b1e5dcb014910b0d4.tar.bz2
[svn-r15051] Purpose: Fix typo
Description: Remove c_str() from a String argument. Platforms: SunOS 5.10 (linew) Linux 2.6 (kagiso) FreeBSD (duty)
Diffstat (limited to 'c++')
-rw-r--r--c++/test/tattr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp
index 0d545d7..6efbda0 100644
--- a/c++/test/tattr.cpp
+++ b/c++/test/tattr.cpp
@@ -379,7 +379,7 @@ static void test_attr_compound_write()
try {
// Create file
- H5File fid1(FILENAME.c_str(), H5F_ACC_TRUNC);
+ H5File fid1(FILENAME, H5F_ACC_TRUNC);
// Create dataspace for dataset
hsize_t dims1[] = {SPACE1_DIM1, SPACE1_DIM2, SPACE1_DIM3};