summaryrefslogtreecommitdiff
path: root/src/core/model/Ontology.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Ontology.hpp')
-rw-r--r--src/core/model/Ontology.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/model/Ontology.hpp b/src/core/model/Ontology.hpp
index 82f8948..c90093c 100644
--- a/src/core/model/Ontology.hpp
+++ b/src/core/model/Ontology.hpp
@@ -458,7 +458,7 @@ public:
* @return the name of this FieldDescriptor or the default field name
* if the name is empty.
*/
- std::string getNameOrDefaultName()
+ std::string getNameOrDefaultName() const
{
std::string name = getName();
if (name.empty()) {