[svn-r19925] bring BZ1165 solution from trunk.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user