diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-18 11:42:30 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-18 11:42:30 +0100 |
commit | 1765901ff35db93ba79ce67473ffb1abcf7165d6 (patch) | |
tree | 53e4e09645124756eb229f602b5891774478a305 /src/core/model/Domain.hpp | |
parent | a0719a9a3e1c0970c0207fa4beec150613f1a768 (diff) |
detected and counteracted cycles in gatherFieldDescriptors and gatherSubclasses. Also added unit tests for those cyclic cases.
Diffstat (limited to 'src/core/model/Domain.hpp')
-rw-r--r-- | src/core/model/Domain.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp index 476a38c..b3fc6c2 100644 --- a/src/core/model/Domain.hpp +++ b/src/core/model/Domain.hpp @@ -808,6 +808,7 @@ private: */ Rooted<FieldDescriptor> gatherFieldDescriptors( NodeVector<FieldDescriptor> ¤t, + std::unordered_set<const StructuredClass *> &visited, std::set<std::string> &overriddenFields, bool hasTREE) const; protected: |