summaryrefslogtreecommitdiff
path: root/src/core/model/Domain.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-08 19:48:56 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-08 19:48:56 +0100
commit0cbcba73332ee79e6041febec97575079400267b (patch)
treecbe8ed47c92911b4657649e46e1d2d9a2fb20e68 /src/core/model/Domain.hpp
parent5eca67b6cab7031d8203b1403ba5cddaef833e76 (diff)
set the return type of getFieldDescriptorIndex to ssize_t.
Diffstat (limited to 'src/core/model/Domain.hpp')
-rw-r--r--src/core/model/Domain.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp
index 63f4c5d..db3b9e6 100644
--- a/src/core/model/Domain.hpp
+++ b/src/core/model/Domain.hpp
@@ -503,7 +503,7 @@ public:
* @return the index of the FieldDescriptor with the given name or -1 if
* no such FieldDescriptor was found.
*/
- int getFieldDescriptorIndex(
+ ssize_t getFieldDescriptorIndex(
const std::string &name = DEFAULT_FIELD_NAME) const;
/**
* Returns the index of the given FieldDescriptor or -1 of the given
@@ -514,7 +514,7 @@ public:
* @return the index of the given FieldDescriptor or -1 of the given
* FieldDescriptor is not registered at this Descriptor.
*/
- int getFieldDescriptorIndex(Handle<FieldDescriptor> fd) const;
+ ssize_t getFieldDescriptorIndex(Handle<FieldDescriptor> fd) const;
/**
* This returns true if this Descriptor has a FieldDescriptor with the