diff --git a/src/crypto/rx/Rx.cpp b/src/crypto/rx/Rx.cpp index 6df708be1..8e757ddf2 100644 --- a/src/crypto/rx/Rx.cpp +++ b/src/crypto/rx/Rx.cpp @@ -250,9 +250,9 @@ xmrig::RxDataset *xmrig::Rx::dataset(const Job &job, uint32_t nodeId) } -std::pair xmrig::Rx::hugePages() +std::pair xmrig::Rx::hugePages() { - std::pair pages(0, 0); + std::pair pages(0, 0); std::lock_guard lock(d_ptr->mutex); for (auto const &item : d_ptr->datasets) { diff --git a/src/crypto/rx/Rx.h b/src/crypto/rx/Rx.h index 7cb94b4eb..1a383055a 100644 --- a/src/crypto/rx/Rx.h +++ b/src/crypto/rx/Rx.h @@ -46,7 +46,7 @@ class Rx public: static bool isReady(const Job &job); static RxDataset *dataset(const Job &job, uint32_t nodeId); - static std::pair hugePages(); + static std::pair hugePages(); static void destroy(); static void init(); static void init(const Job &job, int initThreads, bool hugePages, bool numa);