Changeset 52:d7207624a7a7 in rrlib_xml


Ignore:
Timestamp:
12.07.2013 12:11:54 (6 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Phase:
public
Message:

Removed assertions for things that are already handled via exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tDocument.cpp

    r50 r52  
    8585    root_node(reinterpret_cast<tNode *>(xmlDocGetRootElement(this->document))) 
    8686{ 
    87   assert(this->document); 
    8887  this->CheckIfDocumentIsValid("Could not parse XML file `" + file_name + "'!"); 
    8988  tCleanupHandler::Instance(); 
     
    9493    root_node(reinterpret_cast<tNode *>(xmlDocGetRootElement(this->document))) 
    9594{ 
    96   assert(this->document); 
    9795  this->CheckIfDocumentIsValid("Could not parse XML file `" + file_name + "'!"); 
    9896  tCleanupHandler::Instance(); 
Note: See TracChangeset for help on using the changeset viewer.