Silence warning

for systems without shared memory support

Fixes https://github.com/official-stockfish/Stockfish/issues/6425

closes https://github.com/official-stockfish/Stockfish/pull/6426

No functional change
This commit is contained in:
Joost VandeVondele
2025-11-17 13:36:11 +01:00
parent 2084d94266
commit 4b8fffe3b3
+2 -1
View File
@@ -455,7 +455,8 @@ class SharedMemoryBackend {
public:
SharedMemoryBackend() = default;
SharedMemoryBackend(const std::string& shm_name, const T& value) {}
SharedMemoryBackend([[maybe_unused]] const std::string& shm_name,
[[maybe_unused]] const T& value) {}
void* get() const { return nullptr; }