Changeset 263 for trunk/src/engine.c


Ignore:
Timestamp:
Feb 25, 2009, 2:06:58 PM (10 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.c

    r198 r263  
    243243  // How do we do this?  Parser_Interface<W>::model_info->~Model_Info();
    244244  Parser_Interface<W>::entity_Info->~Entity_Info();
    245   byteplex->~Byteplex();
    246   bitplex->~Bitplex();
     245  delete byteplex;
     246  delete bitplex;
    247247  simd_delete((SIMD_type *) buf);
    248   lexer->~Lexer_Interface();
     248  delete lexer;
    249249}
    250250
Note: See TracChangeset for help on using the changeset viewer.