mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-28 14:40:27 -05:00
Code cleanup based on Clang-Tidy.
This commit is contained in:
@@ -95,6 +95,7 @@ bool xmrig::Httpd::start()
|
||||
m_port = static_cast<uint16_t>(rc);
|
||||
|
||||
# ifdef _WIN32
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast, performance-no-int-to-ptr)
|
||||
HRSRC src = FindResource(nullptr, MAKEINTRESOURCE(1), RT_ICON);
|
||||
if (src != nullptr) {
|
||||
HGLOBAL res = LoadResource(nullptr, src);
|
||||
|
||||
Reference in New Issue
Block a user