1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-21 21:02:52 -05:00

Nonce: refactor static init

This commit is contained in:
cohcho
2020-10-06 13:34:19 +00:00
parent 116fb3d3f9
commit 7bdeba4d08
2 changed files with 2 additions and 18 deletions

View File

@@ -43,8 +43,6 @@ public:
};
Nonce();
static inline bool isOutdated(Backend backend, uint64_t sequence) { return m_sequence[backend].load(std::memory_order_relaxed) != sequence; }
static inline bool isPaused() { return m_paused.load(std::memory_order_relaxed); }
static inline uint64_t sequence(Backend backend) { return m_sequence[backend].load(std::memory_order_relaxed); }