cn/r part 2 of 2.
This commit is contained in:
parent
b9e15389ca
commit
57f82f7504
16 changed files with 287 additions and 139 deletions
|
@ -77,7 +77,7 @@ public:
|
|||
ARGON2
|
||||
};
|
||||
|
||||
inline Algorithm() {}
|
||||
inline Algorithm() = default;
|
||||
inline Algorithm(const char *algo) : m_id(parse(algo)) {}
|
||||
inline Algorithm(Id id) : m_id(id) {}
|
||||
|
||||
|
@ -109,7 +109,7 @@ private:
|
|||
};
|
||||
|
||||
|
||||
typedef std::vector<Algorithm> Algorithms;
|
||||
using Algorithms = std::vector<Algorithm>;
|
||||
|
||||
|
||||
} /* namespace xmrig */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue