Fix compile warning, mostly struct/class inconsistency.
This commit is contained in:
parent
66fd532ee6
commit
6f5d175d12
7 changed files with 24 additions and 18 deletions
|
@ -32,7 +32,7 @@
|
|||
namespace xmrig {
|
||||
|
||||
|
||||
constexpr const size_t oneMiB = 1024u * 1024u;
|
||||
//constexpr const size_t oneMiB = 1024u * 1024u;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -123,12 +123,6 @@ static OclDevice::Type getType(const String &name)
|
|||
}
|
||||
|
||||
|
||||
static inline bool isCNv2(const Algorithm &algorithm)
|
||||
{
|
||||
return algorithm.family() == Algorithm::CN && CnAlgo<>::base(algorithm) == Algorithm::CN_2;
|
||||
}
|
||||
|
||||
|
||||
} // namespace xmrig
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue