summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c++/test/tfile.cpp8
-rw-r--r--c++/test/th5s.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp
index bb53f45..f15f836 100644
--- a/c++/test/tfile.cpp
+++ b/c++/test/tfile.cpp
@@ -43,24 +43,24 @@ using namespace H5;
#define F1_LENGTH_SIZE sizeof(hsize_t)
#define F1_SYM_LEAF_K 4
#define F1_SYM_INTERN_K 16
-const char* FILE1("tfile1.h5");
+const char* FILE1 = "tfile1.h5";
#define F2_USERBLOCK_SIZE (hsize_t)512
#define F2_OFFSET_SIZE 8
#define F2_LENGTH_SIZE 8
#define F2_SYM_LEAF_K 8
#define F2_SYM_INTERN_K 32
-const char* FILE2("tfile2.h5");
+const char* FILE2 = "tfile2.h5";
#define F3_USERBLOCK_SIZE (hsize_t)0
#define F3_OFFSET_SIZE F2_OFFSET_SIZE
#define F3_LENGTH_SIZE F2_LENGTH_SIZE
#define F3_SYM_LEAF_K F2_SYM_LEAF_K
#define F3_SYM_INTERN_K F2_SYM_INTERN_K
-const char* FILE3("tfile3.h5");
+const char* FILE3 = "tfile3.h5";
#define KB 1024
-const char* FILE4("tfile4.h5");
+const char* FILE4 = "tfile4.h5";
/*-------------------------------------------------------------------------
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp
index 5f69a66..09f8f82 100644
--- a/c++/test/th5s.cpp
+++ b/c++/test/th5s.cpp
@@ -34,8 +34,8 @@
using namespace H5;
#endif /* !H5_NO_NAMESPACE */
-const char* TESTFILE("th5s.h5");
-const char* DATAFILE("th5s1.h5");
+const char* TESTFILE = "th5s.h5";
+const char* DATAFILE = "th5s1.h5";
/* 3-D dataset with fixed dimensions */
#define SPACE1_NAME "Space1"