diff options
| author | MenTaLguY <mental@rydia.net> | 2008-06-11 15:59:31 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-06-11 15:59:31 +0000 |
| commit | bc5b09aedd49bc9ac83c45eee3240c47d5828ce8 (patch) | |
| tree | bafc8031ab74fda26fa5970116914ceb27bfb3a2 /src/xml/simple-node.cpp | |
| parent | plumb XML::Documents in everywhere (diff) | |
| download | inkscape-bc5b09aedd49bc9ac83c45eee3240c47d5828ce8.tar.gz inkscape-bc5b09aedd49bc9ac83c45eee3240c47d5828ce8.zip | |
re-enable assertions
(bzr r5885)
Diffstat (limited to 'src/xml/simple-node.cpp')
| -rw-r--r-- | src/xml/simple-node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index ba793721e..d4a412ae6 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -164,7 +164,7 @@ SimpleNode::SimpleNode(int code, Document *document) : 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; @@ -180,7 +180,7 @@ SimpleNode::SimpleNode(SimpleNode const &node, Document *document) _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; |
