Changeset 263 for trunk/src/engine.h


Ignore:
Timestamp:
Feb 25, 2009, 2:06:58 PM (11 years ago)
Author:
ksherdy
Message:

Update destructor with virtual keyword. Use delete over explict destructor calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.h

    r197 r263  
    3333class Parser_Interface {
    3434public:
    35         ~Parser_Interface();
     35        virtual ~Parser_Interface();
    3636        static Parser_Interface * ParserFactory(char * filename);
    3737        static Parser_Interface * ParserFactory(char * filename, Model_Info * m);
     
    127127public:
    128128        ParsingEngine(Entity_Info * e, Model_Info * m, Byteplex * b, bool is_external);
    129         ~ParsingEngine();
     129        virtual ~ParsingEngine();
    130130        void ParseContent();
    131131protected:
Note: See TracChangeset for help on using the changeset viewer.