X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FNode.cti;h=ee7db3de82df8a31f6cfff64d99320df969c6a1f;hb=649d1287af25496ff538bc97ea03a17cd03c4200;hp=a15d63e103a1aff8bee262ba02966aa2b06ad953;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Utils/Console/Node.cti b/senf/Utils/Console/Node.cti index a15d63e..ee7db3d 100644 --- a/senf/Utils/Console/Node.cti +++ b/senf/Utils/Console/Node.cti @@ -37,7 +37,7 @@ template prefix_ NodeType & senf::console::DirectoryNode::add(std::string const & name, boost::shared_ptr node) { - SENF_ASSERT( ! node->parent() ); + SENF_ASSERT( ! node->parent(), "Node can only be added to tree once" ); node->name(name); add(node); return *node;