mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
Issue #77 Break dependency of loghandler and tokenbucket on time and units
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user