From 88ff8077008b78ac5868c156a9c8f0494561a84b Mon Sep 17 00:00:00 2001 From: XMRig Date: Fri, 3 Jan 2020 19:11:48 +0700 Subject: [PATCH] Fix compile warnings. --- src/crypto/common/VirtualMemory.cpp | 7 ++----- src/crypto/common/VirtualMemory.h | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/crypto/common/VirtualMemory.cpp b/src/crypto/common/VirtualMemory.cpp index 14909f1b..c6becb89 100644 --- a/src/crypto/common/VirtualMemory.cpp +++ b/src/crypto/common/VirtualMemory.cpp @@ -6,9 +6,9 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh * Copyright 2018-2019 tevador - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,9 +46,6 @@ namespace xmrig { static IMemoryPool *pool = nullptr; static std::mutex mutex; -constexpr size_t twoMiB = 2U * 1024U * 1024U; -constexpr size_t oneGiB = 1024U * 1024U * 1024U; - } // namespace xmrig diff --git a/src/crypto/common/VirtualMemory.h b/src/crypto/common/VirtualMemory.h index f27e5908..0ca30775 100644 --- a/src/crypto/common/VirtualMemory.h +++ b/src/crypto/common/VirtualMemory.h @@ -6,9 +6,9 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh * Copyright 2018-2019 tevador - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by