diff options
Diffstat (limited to 'c++/src/H5Exception.cpp')
-rw-r--r-- | c++/src/H5Exception.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/c++/src/H5Exception.cpp b/c++/src/H5Exception.cpp index 9d5a272..4af1ffc 100644 --- a/c++/src/H5Exception.cpp +++ b/c++/src/H5Exception.cpp @@ -12,14 +12,18 @@ * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +#include <string> +#ifndef H5_NO_NAMESPACE +#ifndef H5_NO_STD + using std::string; +#endif // H5_NO_STD +#endif + #include "H5Include.h" #include "H5Exception.h" #ifndef H5_NO_NAMESPACE namespace H5 { -#ifndef H5_NO_STD - using namespace std; -#endif // H5_NO_STD #endif const string Exception::DEFAULT_MSG("No detailed information provided"); |