From b41fd120d289980324ca8e9840a025ab87896268 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 10 Aug 2019 13:14:20 +0700 Subject: [PATCH] Uniform signature for hugePages method. --- src/crypto/rx/Rx.cpp | 4 ++-- src/crypto/rx/Rx.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crypto/rx/Rx.cpp b/src/crypto/rx/Rx.cpp index 6df708be..8e757ddf 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 7cb94b4e..1a383055 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);