]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/FadingCounter.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / FadingCounter.cc
index 8c896c228123417d733807b55f8c2d410d4af438..58144593f7c2661c74243f5f628db595da5d181d 100644 (file)
@@ -1,11 +1,17 @@
 /*
- * $Id$
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
 #include "squid.h"
 #include "base/TextException.h"
-#include "SquidTime.h"
 #include "FadingCounter.h"
+#include "SquidTime.h"
+
+#include <cmath>
 
 FadingCounter::FadingCounter(): horizon(-1), precision(10), delta(-1),
     lastTime(0), total(0)
@@ -67,3 +73,4 @@ int FadingCounter::count(int howMany)
 
     return total;
 }
+