removed some useless spaces; not very important, I know :)
[senf.git] / Packets / VariantParser.cti
index 69169d2..e3123df 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer NETwork research (NET)
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,7 @@
 #include "VariantParser.ih"
 
 // Custom includes
+#include "../Utils/senfassert.hh"
 #include <boost/mpl/size.hpp>
 
 #define prefix_ inline
@@ -78,7 +79,7 @@ prefix_ typename boost::mpl::at<
 senf::VariantParser<VariantPolicy,SENF_PARSE_VARIANT_TPL_ARGS(P)>::get()
     const
 {
-    BOOST_ASSERT( variant() == N );
+    SENF_ASSERT( variant() == N );
     return typename boost::mpl::at<parsers, boost::mpl::int_<N> >::type(
         VariantPolicy::begin(i(), state()), state() );
 }