From 1889a5ca33ac1253ce1b220f667bf0ea94515a1b Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Thu, 15 Jan 2015 02:16:21 +0100 Subject: fixed clang warnings and errors --- src/core/model/Node.hpp | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'src/core/model/Node.hpp') 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 +template 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 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>, ListAccessor>, Listener> { public: - using Base = ManagedGenericList>, - ListAccessor>, Listener>; - using Base::ManagedGenericList; + using ManagedGenericList>, ListAccessor>, + 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>, MapAccessor>>, Listener> { public: - using Base = - ManagedGenericMap>, - MapAccessor>>, Listener>; - using Base::ManagedGenericMap; + using ManagedGenericMap>, + MapAccessor>>, + Listener>::ManagedGenericMap; /** * Returns the reference to the internal index. -- cgit v1.2.3