diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-15 02:16:21 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-15 02:16:21 +0100 |
commit | 1889a5ca33ac1253ce1b220f667bf0ea94515a1b (patch) | |
tree | 16e8e517c0c84c2fa89d61f77273aa13327c5a7b /src/core/model/Node.hpp | |
parent | e99a307bf76689e4e86f8ac1a4c545bcebbdb7ab (diff) |
fixed clang warnings and errors
Diffstat (limited to 'src/core/model/Node.hpp')
-rw-r--r-- | src/core/model/Node.hpp | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/src/core/model/Node.hpp b/src/core/model/Node.hpp index 68a6ec7..e8adbaa 100644 --- a/src/core/model/Node.hpp +++ b/src/core/model/Node.hpp @@ -41,7 +41,7 @@ namespace ousia { // Forward declarations class RttiType; -template<class T> +template <class T> class Rtti; /** @@ -82,7 +82,7 @@ struct ResolutionResult { }; // Forward declaration -struct ResolutionState; +class ResolutionState; /** * The Node class builds the base class for any Node within the DOM graph. A @@ -219,7 +219,7 @@ protected: */ template <class T> bool continueResolveComposita(T &container, const Index &index, - ResolutionState &state) + ResolutionState &state) { if (continueResolveIndex(index, state)) { return true; @@ -232,7 +232,7 @@ protected: /** * Tries to search for the requested node in another subtree to which a - * reference exists from this node. + * reference exists from this node. * * @param h is a handle pointing at the node in the subtree. * @param state is used internally to manage the resolution process. @@ -243,7 +243,7 @@ protected: /** * Tries to search for the requested node in another subtree to which a - * reference exists from this node. + * reference exists from this node. * * @param h is a handle pointing at the node in the subtree. * @param state is used internally to manage the resolution process. @@ -378,9 +378,8 @@ class NodeVector : public ManagedGenericList<T, std::vector<Handle<T>>, ListAccessor<Handle<T>>, Listener> { public: - using Base = ManagedGenericList<T, std::vector<Handle<T>>, - ListAccessor<Handle<T>>, Listener>; - using Base::ManagedGenericList; + using ManagedGenericList<T, std::vector<Handle<T>>, ListAccessor<Handle<T>>, + Listener>::ManagedGenericList; /** * Returns the reference to the internal index. @@ -391,7 +390,6 @@ public: * Returns the reference to the internal index. */ Index &getIndex() { return this->listener; } - }; /** @@ -410,10 +408,9 @@ class NodeMap : public ManagedGenericMap<K, T, std::map<K, Handle<T>>, MapAccessor<std::pair<K, Handle<T>>>, Listener> { public: - using Base = - ManagedGenericMap<K, T, std::map<K, Handle<T>>, - MapAccessor<std::pair<K, Handle<T>>>, Listener>; - using Base::ManagedGenericMap; + using ManagedGenericMap<K, T, std::map<K, Handle<T>>, + MapAccessor<std::pair<K, Handle<T>>>, + Listener>::ManagedGenericMap; /** * Returns the reference to the internal index. |