diff --git a/src/backend/cpu/CpuBackend.cpp b/src/backend/cpu/CpuBackend.cpp index 246002707..77baeaf60 100644 --- a/src/backend/cpu/CpuBackend.cpp +++ b/src/backend/cpu/CpuBackend.cpp @@ -143,9 +143,9 @@ xmrig::CpuBackend::~CpuBackend() } -std::pair xmrig::CpuBackend::hugePages() const +std::pair xmrig::CpuBackend::hugePages() const { - std::pair pages(0, 0); + std::pair pages(0, 0); # ifdef XMRIG_ALGO_RANDOMX if (d_ptr->algo.family() == Algorithm::RANDOM_X) { diff --git a/src/backend/cpu/CpuBackend.h b/src/backend/cpu/CpuBackend.h index bedef5ca1..2b907840f 100644 --- a/src/backend/cpu/CpuBackend.h +++ b/src/backend/cpu/CpuBackend.h @@ -46,7 +46,7 @@ public: CpuBackend(Controller *controller); ~CpuBackend() override; - std::pair hugePages() const; + std::pair hugePages() const; protected: bool isEnabled() const override;