Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / intrusive_refcount.cci
index 8050aad..7ac3df2 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// 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
 // it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@
 //#include "intrusive_refcount.ih"
 
 // Custom includes
-#include <boost/assert.hpp>
+#include "senfassert.hh"
 
 #define prefix_ inline
 ///////////////////////////////cci.p///////////////////////////////////////
@@ -45,9 +45,6 @@ prefix_ senf::intrusive_refcount_base::intrusive_refcount_base()
     : refcount_(0)
 {}
 
-prefix_  senf::intrusive_refcount_base::~intrusive_refcount_base()
-{}
-
 prefix_ void senf::intrusive_refcount_base::add_ref()
 {
     ++refcount_;
@@ -55,7 +52,7 @@ prefix_ void senf::intrusive_refcount_base::add_ref()
 
 prefix_ bool senf::intrusive_refcount_base::release()
 {
-    BOOST_ASSERT(refcount_>0);
+    SENF_ASSERT(refcount_>0);
     return --refcount_ == 0;
 }