Changeset 52 for trunk/src/engine.c


Ignore:
Timestamp:
Feb 20, 2008, 11:05:02 AM (11 years ago)
Author:
cameron
Message:

Destructors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r49 r52  
    3636}
    3737
     38Parser_Interface::~Parser_Interface() {
     39  xml_buf->~XML_Buffer_Interface();
     40}
     41
     42
    3843bool Parser_Interface::has_ByteOrderMark() {
    3944        return xml_buf->BOM_units > 0;
     
    104109
    105110
     111template <CodeUnit_Base C>
     112ParsingEngine<C>::~ParsingEngine() {
     113  simd_delete((SIMD_type *) buf);
     114  lexer->~Lexer_Interface();
     115}
    106116
    107117template <CodeUnit_Base C>
Note: See TracChangeset for help on using the changeset viewer.