Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2007, 11:45:16 PM (17 years ago)
Author:
landauf
Message:

+ warning output in compiler

  • warnings in ClassFactory (added useless destructor :P)
Location:
code/branches/objecthierarchy/src/orxonox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/core/Factory.h

    r365 r383  
    5555        public:
    5656            virtual BaseObject* fabricate() = 0;
     57            virtual ~BaseFactory() {};
    5758    };
    5859}
  • code/branches/objecthierarchy/src/orxonox/objects/test3.cc

    r258 r383  
    1818          std::cout << #code << " " << code << "\n"
    1919
    20     bool Test3::usefullClassesIsATest(Test1* test1)
     20    void Test3::usefullClassesIsATest(Test1* test1)
    2121    {
    2222        std::cout << "\n";
     
    3535    }
    3636
    37     bool Test3::usefullClassesIsATest(Test2* test2)
     37    void Test3::usefullClassesIsATest(Test2* test2)
    3838    {
    3939        std::cout << "\n";
  • code/branches/objecthierarchy/src/orxonox/objects/test3.h

    r258 r383  
    1515            virtual ~Test3();
    1616
    17             bool usefullClassesIsATest(Test1* test1);
    18             bool usefullClassesIsATest(Test2* test2);
     17            void usefullClassesIsATest(Test1* test1);
     18            void usefullClassesIsATest(Test2* test2);
    1919    };
    2020}
Note: See TracChangeset for help on using the changeset viewer.