more documentation fixes
[senf.git] / senf / Utils / Console / Traits.cc
index c1e1cbc..923e8ce 100644 (file)
@@ -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 <g0dil@berlios.de>
@@ -27,7 +27,7 @@
 #include "Traits.ih"
 
 // Custom includes
-#include "../../Utils/senfassert.hh"
+#include <senf/Utils/senfassert.hh>
 
 //#include "Traits.mpp"
 #define prefix_
@@ -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;
 }