PPI: Missing commit
[senf.git] / Packets / PacketInterpreter.cci
index 7004c7a..c5c75d3 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// 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
@@ -24,6 +24,7 @@
     \brief PacketInterpreter inline non-template implementation */
 
 // Custom includes
+#include "../Utils/senfassert.hh"
 #include <boost/utility.hpp>
 
 #define prefix_ inline
@@ -155,14 +156,14 @@ prefix_ bool senf::PacketInterpreterBase::release()
 
 prefix_ void senf::PacketInterpreterBase::assignImpl(detail::PacketImpl * impl)
 {
-    BOOST_ASSERT(!impl_);
+    SENF_ASSERT(!impl_);
     impl_ = impl;
     impl_->add_ref(refcount());
 }
 
 prefix_ void senf::PacketInterpreterBase::releaseImpl()
 {
-    BOOST_ASSERT(impl_);
+    SENF_ASSERT(impl_);
     refcount_t refc (refcount());
     if (refc) {
         impl_->release(refc);