mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r10093] Purpose: Fix bug
Description: Fixed typo in using namespace; it was mistakenly opening the namespace. Platforms tested: Linux 2.4 (heping) Very minor, and tested 3 platforms for 1.6 branch
This commit is contained in:
parent
a5b452c417
commit
10df21a401
@ -32,16 +32,8 @@
|
||||
#include "h5cpputil.h"
|
||||
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
namespace H5 {
|
||||
#ifndef H5_NO_STD
|
||||
using namespace std;
|
||||
#endif // H5_NO_STD
|
||||
using namespace H5;
|
||||
#endif
|
||||
/*
|
||||
#ifndef H5_NO_STD
|
||||
using namespace std;
|
||||
#endif
|
||||
*/
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
@ -126,7 +118,3 @@ InvalidActionException::InvalidActionException(const string func_name, const str
|
||||
//--------------------------------------------------------------------------
|
||||
InvalidActionException::~InvalidActionException() {}
|
||||
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
} // end namespace
|
||||
#endif
|
||||
|
||||
|
@ -24,10 +24,7 @@
|
||||
#define _h5cpputil_h
|
||||
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
namespace H5 {
|
||||
#ifndef H5_NO_STD
|
||||
using namespace std;
|
||||
#endif // H5_NO_STD
|
||||
using namespace H5;
|
||||
#endif
|
||||
|
||||
#ifndef H5_NO_STD
|
||||
@ -65,8 +62,4 @@ class InvalidActionException : public Exception {
|
||||
virtual ~InvalidActionException();
|
||||
};
|
||||
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user