Issue #77 Break dependency of loghandler and tokenbucket on time and units

This commit is contained in:
Mat Sutcliffe
2020-08-28 00:36:42 +01:00
parent 39e9e6f128
commit 5f18d87e0b
5 changed files with 3 additions and 15 deletions

View File

@@ -10,7 +10,6 @@
#define BLACKMISC_TOKENBUCKET_H
#include "blackmisc/blackmiscexport.h"
#include "blackmisc/pq/time.h"
#include <QDateTime>
namespace BlackMisc
@@ -25,9 +24,6 @@ namespace BlackMisc
class BLACKMISC_EXPORT CTokenBucket
{
public:
//! Constructor for given replenishment policy
CTokenBucket(int capacity, const PhysicalQuantities::CTime &interval, int numTokensToRefill);
//! Constructor for given replenishment policy
CTokenBucket(int capacity, qint64 intervalMs, int numTokensToRefill);