summaryrefslogtreecommitdiff
path: root/src/core/model/Ontology.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-03 18:23:30 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-03-03 18:23:30 +0100
commitb39f1681f47ac30ead123b10f1e14dcc40a947db (patch)
tree428670717f7d6f021de365a9fc92d6c0467b8ddc /src/core/model/Ontology.hpp
parent4ee3c4042d267c010babb2ab86e15a6b31950849 (diff)
improved FieldDescriptor validation error messages.
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()) {