Implemented "enabled" field for CPU backend;

This commit is contained in:
XMRig 2019-07-19 02:39:00 +07:00
parent d9164c0b7b
commit fa2c9df075
3 changed files with 14 additions and 0 deletions

View file

@ -44,6 +44,7 @@ public:
~CpuBackend() override;
protected:
bool isEnabled() const override;
bool isEnabled(const Algorithm &algorithm) const override;
const Hashrate *hashrate() const override;
const String &profileName() const override;