Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 24, 2009, 11:32:39 AM (15 years ago)
Author:
rgrieder
Message:

Applied changes to the real sandbox this time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/src/libraries/core/ClassFactory.h

    r5738 r5782  
    5555    {
    5656        public:
    57             static bool create(const std::string& name, bool bLoadable = true);
     57            static bool create(const std::string& name);
    5858            BaseObject* fabricate(BaseObject* creator);
    5959
     
    7373    */
    7474    template <class T>
    75     bool ClassFactory<T>::create(const std::string& name, bool bLoadable)
     75    bool ClassFactory<T>::create(const std::string& name)
    7676    {
    7777        COUT(4) << "*** ClassFactory: Create entry for " << name << " in Factory." << std::endl;
    7878        ClassIdentifier<T>::getIdentifier(name)->addFactory(new ClassFactory<T>);
    79         ClassIdentifier<T>::getIdentifier()->setLoadable(bLoadable);
    8079        Factory::add(name, ClassIdentifier<T>::getIdentifier());
    8180
Note: See TracChangeset for help on using the changeset viewer.