diff options
Diffstat (limited to 'c++/src/H5IdComponent.h')
-rw-r--r-- | c++/src/H5IdComponent.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c++/src/H5IdComponent.h b/c++/src/H5IdComponent.h index 33fa7d2..5648380 100644 --- a/c++/src/H5IdComponent.h +++ b/c++/src/H5IdComponent.h @@ -61,10 +61,18 @@ class H5_DLLCPP IdComponent { // Makes and returns the string "<class-name>::<func_name>"; // <class-name> is returned by fromClass(). +#ifdef H5_NO_STD string inMemFunc(const char* func_name) const; +#else + std::string inMemFunc(const char* func_name) const; +#endif // H5_NO_STD // Returns this class name. +#ifdef H5_NO_STD virtual string fromClass() const {return ("IdComponent");} +#else + virtual std::string fromClass() const {return ("IdComponent");} +#endif // H5_NO_STD #endif // DOXYGEN_SHOULD_SKIP_THIS |