Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9626


Ignore:
Timestamp:
Aug 9, 2013, 12:25:11 AM (11 years ago)
Author:
landauf
Message:

fixed compiler issue with msvc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/class/Identifier.h

    r9606 r9626  
    296296            }
    297297
     298            void updateConfigValues(bool updateChildren, Listable*) const;
     299            void updateConfigValues(bool updateChildren, Identifiable*) const;
     300
    298301            static ClassIdentifier<T>* classIdentifier_s;
    299302    };
     
    429432    void ClassIdentifier<T>::updateConfigValues(bool updateChildren) const
    430433    {
     434        this->updateConfigValues(updateChildren, static_cast<T*>(NULL));
     435    }
     436
     437    template <class T>
     438    void ClassIdentifier<T>::updateConfigValues(bool updateChildren, Listable*) const
     439    {
    431440        if (!this->hasConfigValues())
    432441            return;
     
    438447            for (std::set<const Identifier*>::const_iterator it = this->getChildrenBegin(); it != this->getChildrenEnd(); ++it)
    439448                (*it)->updateConfigValues(false);
     449    }
     450
     451    template <class T>
     452    void ClassIdentifier<T>::updateConfigValues(bool updateChildren, Identifiable*) const
     453    {
     454        // no action
    440455    }
    441456
Note: See TracChangeset for help on using the changeset viewer.