From 35b334d58a495065c351cbf0858c0e431bf36e4d Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 31 May 2025 01:12:00 +0700 Subject: [PATCH] Fixed compile warning. --- src/base/net/stratum/Job.h | 6 +++--- src/version.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/base/net/stratum/Job.h b/src/base/net/stratum/Job.h index 5d29e68e..8e28c1bf 100644 --- a/src/base/net/stratum/Job.h +++ b/src/base/net/stratum/Job.h @@ -7,8 +7,8 @@ * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett * Copyright 2019 Howard Chu - * Copyright 2018-2024 SChernykh - * Copyright 2016-2024 XMRig , + * Copyright 2018-2025 SChernykh + * Copyright 2016-2025 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 @@ -67,7 +67,7 @@ public: inline bool isNicehash() const { return m_nicehash; } inline bool isValid() const { return (m_size > 0 && m_diff > 0) || !m_poolWallet.isEmpty(); } - inline bool setId(const char *id) { return m_id = id; } + inline bool setId(const char *id) { return (m_id = id); } inline const Algorithm &algorithm() const { return m_algorithm; } inline const Buffer &seed() const { return m_seed; } inline const String &clientId() const { return m_clientId; } diff --git a/src/version.h b/src/version.h index 770fbfe6..3f04742b 100644 --- a/src/version.h +++ b/src/version.h @@ -1,6 +1,6 @@ /* XMRig - * Copyright (c) 2018-2024 SChernykh - * Copyright (c) 2016-2024 XMRig , + * Copyright (c) 2018-2025 SChernykh + * Copyright (c) 2016-2025 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 @@ -25,7 +25,7 @@ #define APP_VERSION "6.22.3-dev" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" -#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com" +#define APP_COPYRIGHT "Copyright (C) 2016-2025 xmrig.com" #define APP_KIND "miner" #define APP_VER_MAJOR 6