summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5Location.cpp')
-rw-r--r--c++/src/H5Location.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Location.cpp b/c++/src/H5Location.cpp
index be59f51..98878d7 100644
--- a/c++/src/H5Location.cpp
+++ b/c++/src/H5Location.cpp
@@ -279,7 +279,7 @@ bool H5Location::attrExists(const char* name) const
//--------------------------------------------------------------------------
bool H5Location::attrExists(const H5std_string& name) const
{
- attrExists(name.c_str());
+ return(attrExists(name.c_str()));
}
//--------------------------------------------------------------------------