mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Fix clang warnings and job comparison bug.
This commit is contained in:
@@ -171,5 +171,5 @@ void Job::toHex(const unsigned char* in, unsigned int len, char* out)
|
||||
|
||||
bool Job::operator==(const Job &other) const
|
||||
{
|
||||
return m_id == other.m_id && memcmp(m_blob, other.m_blob, sizeof(m_blob) == 0);
|
||||
return m_id == other.m_id && memcmp(m_blob, other.m_blob, sizeof(m_blob)) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user