From 51599f3b2a87f0b613ef6833a27546f2819cdef8 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Thu, 1 Oct 2026 15:39:02 +0100 Subject: [PATCH] Use constexpr to fix linker error --- plugins/channelrx/demodpsk31/psk31demodulator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channelrx/demodpsk31/psk31demodulator.h b/plugins/channelrx/demodpsk31/psk31demodulator.h index 1cc106bbc..337696540 100644 --- a/plugins/channelrx/demodpsk31/psk31demodulator.h +++ b/plugins/channelrx/demodpsk31/psk31demodulator.h @@ -41,8 +41,8 @@ class PSK31Demodulator { public: - static const int m_sampleRate = 1000; - static const int m_samplesPerSymbol = 32; + static constexpr int m_sampleRate = 1000; + static constexpr int m_samplesPerSymbol = 32; PSK31Demodulator();