Correction of the leak
diff --git a/model/ccnx-face.h b/model/ccnx-face.h
index 94b48ab..40de808 100644
--- a/model/ccnx-face.h
+++ b/model/ccnx-face.h
@@ -179,7 +179,7 @@
*
* @param interval Time interval with which the bucket is leaked
*/
- inline void
+ void
LeakBucket (const Time &interval);
inline void
@@ -261,13 +261,6 @@
}
void
-CcnxFace::LeakBucket (const Time &interval)
-{
- const double leak = m_bucketLeak * 1.0 / interval.ToDouble (Time::S);
- m_bucket -= std::max (0.0, m_bucket-leak);
-}
-
-void
CcnxFace::LeakBucketByOnePacket ()
{
m_bucket -= std::max (0.0, m_bucket-1.0);