Removed m_bench field from Job class.

This commit is contained in:
XMRig 2020-10-16 20:29:11 +07:00
parent 36b1523194
commit 7fc7b976bf
No known key found for this signature in database
GPG key ID: 446A53638BE94409
19 changed files with 44 additions and 68 deletions

View file

@ -111,11 +111,6 @@ public:
inline Job &operator=(const Job &other) { copy(other); return *this; }
inline Job &operator=(Job &&other) noexcept { move(std::move(other)); return *this; }
# ifdef XMRIG_FEATURE_BENCHMARK
inline uint32_t bench() const { return m_bench; }
inline void setBench(uint32_t bench) { m_bench = bench; }
# endif
private:
void copy(const Job &other);
void move(Job &&other);
@ -140,10 +135,6 @@ private:
char m_rawTarget[24]{};
String m_rawSeedHash;
# endif
# ifdef XMRIG_FEATURE_BENCHMARK
uint32_t m_bench = 0;
# endif
};