mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
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:
@@ -455,7 +455,8 @@ class SharedMemoryBackend {
|
|||||||
public:
|
public:
|
||||||
SharedMemoryBackend() = default;
|
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; }
|
void* get() const { return nullptr; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user