Commit 01d1c2a8 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

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

parent fd4efa02
......@@ -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()));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment