summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43d06c7)
raw | patch | inline | side by side (parent: 43d06c7)
author | mental <mental@users.sourceforge.net> | |
Wed, 11 Jun 2008 15:59:31 +0000 (15:59 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Wed, 11 Jun 2008 15:59:31 +0000 (15:59 +0000) |
src/xml/simple-node.cpp | patch | blob | history |
index ba793721eaaa47b57baebdcd4bee1bcaa799318b..d4a412ae63e1fb3e803283b37fba6085e1439fa0 100644 (file)
--- a/src/xml/simple-node.cpp
+++ b/src/xml/simple-node.cpp
: Node(), _name(code), _attributes(), _child_count(0),
_cached_positions_valid(false)
{
- //g_assert(document != NULL); // todo: We want to re-enable this, but it doesn't hold yet.
+ g_assert(document != NULL);
this->_document = document;
this->_parent = this->_next = NULL;
_child_count(node._child_count),
_cached_positions_valid(node._cached_positions_valid)
{
- //g_assert(document != NULL); // todo: We want to re-enable this, but it doesn't hold yet.
+ g_assert(document != NULL);
_document = document;
_parent = _next = NULL;