Move dry-run option to common code.

This commit is contained in:
XMRig 2018-06-05 11:48:31 +07:00
parent 48a214c3f1
commit dba78717fa
4 changed files with 25 additions and 23 deletions

View file

@ -77,7 +77,6 @@ public:
inline AesMode aesMode() const { return m_aesMode; }
inline AlgoVariant algoVariant() const { return m_algoVariant; }
inline bool isDryRun() const { return m_dryRun; }
inline bool isHugePages() const { return m_hugePages; }
inline const std::vector<IThread *> &threads() const { return m_threads.list; }
inline int priority() const { return m_priority; }
@ -117,7 +116,6 @@ private:
AesMode m_aesMode;
AlgoVariant m_algoVariant;
bool m_dryRun;
bool m_hugePages;
bool m_safe;
int m_maxCpuUsage;