[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:
Binh-Minh Ribler 2005-02-25 22:43:26 -05:00
parent a5b452c417
commit 10df21a401
2 changed files with 2 additions and 21 deletions

View File

@ -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

View File

@ -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