Code cleanup.

This commit is contained in:
XMRig 2020-10-16 19:35:36 +07:00
parent 5155139e9a
commit 36b1523194
No known key found for this signature in database
GPG key ID: 446A53638BE94409
8 changed files with 98 additions and 61 deletions

View file

@ -49,7 +49,7 @@ public:
bool isEqual(const CpuLaunchData &other) const;
CnHash::AlgoVariant av() const;
inline constexpr static Nonce::Backend backend() { return Nonce::CPU; }
inline constexpr static Nonce::Backend backend() { return Nonce::CPU; }
inline bool operator!=(const CpuLaunchData &other) const { return !isEqual(other); }
inline bool operator==(const CpuLaunchData &other) const { return isEqual(other); }