[svn-r19925] bring BZ1165 solution from trunk.

This commit is contained in:
Allen Byrne
2011-01-07 10:37:14 -05:00
parent fa754ebcbd
commit 008fbc9d45
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
namespace H5 {
#endif
const H5std_string Exception::DEFAULT_MSG("No detailed information provided");
const char Exception::DEFAULT_MSG[] = "No detailed information provided";
//--------------------------------------------------------------------------
// Function: Exception default constructor

View File

@@ -17,6 +17,7 @@
#ifndef _H5Exception_H
#define _H5Exception_H
#pragma warning (disable : 4251)
#include <string>
#ifndef H5_NO_NAMESPACE
@@ -84,7 +85,7 @@ class H5_DLLCPP Exception {
protected:
// Default value for detail_message
static const H5std_string DEFAULT_MSG;
static const char DEFAULT_MSG[];
};
class H5_DLLCPP FileIException : public Exception {