X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FTraits.cc;h=923e8ce215f595c44cfcc83521d20e8ceac0efe9;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=6f75d6076e0bff0d9cae83a0df10fdd5dc1b88eb;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Console/Traits.cc b/senf/Utils/Console/Traits.cc index 6f75d60..923e8ce 100644 --- a/senf/Utils/Console/Traits.cc +++ b/senf/Utils/Console/Traits.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -59,7 +59,7 @@ prefix_ long senf::console::detail::parseEnum(EnumTable const & table, prefix_ std::string senf::console::detail::formatEnum(EnumTable const & table, long value) { EnumTable::right_map::const_iterator i (table.right.find(value)); - SENF_ASSERT( i != table.right.end() ); + SENF_ASSERT( i != table.right.end(), "Invalid enum value" ); return i->second; }