Browse Source

[2091b] removed the assert from getLabels(), which will soon be moot anyway.

JINMEI Tatuya 13 years ago
parent
commit
01d1c2a889
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/lib/datasrc/rbtree.h

+ 0 - 1
src/lib/datasrc/rbtree.h

@@ -223,7 +223,6 @@ public:
     /// the tree can invalidate the returned \c LabelSequence object or copy
     /// of it; in general, it's expected to be used in a very limited scope.
     dns::LabelSequence getLabels() const {
-        assert(labels_capacity_ != 0); // shouldn't be called on a NULL node.
         return (dns::LabelSequence(getLabelsData()));
     }