Explicitly delete the copy constructor and copy assignment operator for
FT8DemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple FT8DemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since FT8DemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
DSDDemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple DSDDemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since DSDDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructors and copy assignment operators for
auto_notch and fir_sampler, both of which own dynamically allocated arrays
released by their destructors.
The implicitly generated copy operations would shallow-copy the array
pointers, leaving multiple instances referring to the same allocations and
potentially causing double deletion.
Since neither class is intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructors and assignment operators
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
ldpc_engine, which manages resources that should not be duplicated through
implicit shallow copies.
The implicitly generated copy operations could duplicate internal resource
pointers, potentially leaving multiple ldpc_engine instances referring to
the same resources and causing invalid ownership or double deletion.
Since ldpc_engine is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
hdlc_dec, which owns a dynamically allocated frame buffer released by its
destructor.
The implicitly generated copy operations would shallow-copy the framebuf
pointer, leaving multiple hdlc_dec instances referring to the same
allocation and potentially causing double deletion.
Since hdlc_dec is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
pipebuf, which owns a dynamically allocated buffer released by its
destructor.
The implicitly generated copy operations would shallow-copy the buffer
pointer, leaving multiple pipebuf instances referring to the same allocation
and potentially causing double deletion.
Since pipebuf is not intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructors and copy assignment operators for
s2_frame_receiver and s2_fecdec_soft.
These processing classes manage state and resources that should not be
duplicated through implicit shallow copies. Prohibiting copying and
assignment prevents accidental duplication of internal state and
potentially unsafe resource ownership.
cppcheck identified the missing copy constructors and assignment operators
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructors and copy assignment operators for
deconvol_sync and viterbi_sync, which manage resources that should not be
shared through implicit shallow copies.
For deconvol_sync, the implicitly generated copy operations would shallow-copy
the punct and conv pointers, potentially causing double deletion. Prohibit
copying and assignment for both classes to prevent unsafe resource ownership.
cppcheck identified the missing copy constructors and assignment operators
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructors and copy assignment operators for
fir_filter and fir_resampler, both of which own dynamically allocated
coefficient arrays released by their destructors.
The implicitly generated copy operations would shallow-copy the coefficient
pointers, leaving multiple instances referring to the same allocations and
potentially causing double deletion.
Since neither class is intended to be copied or assigned, prohibit both
operations at compile time to prevent unsafe resource ownership.
cppcheck identified the missing copy constructors and assignment operators
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
bch_engine, which owns dynamically allocated arrays released by its
destructor.
The implicitly generated copy operations would shallow-copy the array
pointers, leaving multiple bch_engine instances referring to the same
allocations and potentially causing double deletion.
Since bch_engine is not intended to be copied or assigned, prohibit both
operations at compile time, preventing unsafe resource ownership.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
DATVDemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple DATVDemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since DATVDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
BFMDemodSink, which manages resources that should not be shared through
implicit shallow copies.
The implicitly generated copy operations could leave multiple BFMDemodSink
instances referring to the same resources, potentially causing invalid
ownership or double deletion.
Since BFMDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
ATVDemodSink, which manages dynamically allocated memory and other resources.
The implicitly generated copy operations could shallow-copy owned resources,
leaving multiple ATVDemodSink instances referring to the same resources and
potentially causing invalid ownership or double deletion.
Since ATVDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
AMDemodSink, which manages dynamically allocated memory and other resources.
The implicitly generated copy operations could shallow-copy owned resources,
leaving multiple AMDemodSink instances referring to the same resources and
potentially causing invalid ownership or double deletion.
Since AMDemodSink is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
Aircraft, which owns dynamically allocated QTableWidgetItem objects.
The implicitly generated copy operations could shallow-copy the item pointers,
leaving multiple Aircraft instances referring to the same objects and
potentially causing invalid ownership or double deletion.
Since Aircraft is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructors and copy assignment operators for
ChannelAnalyzerSink and its nested RRCHelper class.
These classes manage resources that should not be shared through implicit
shallow copies. The compiler-generated copy operations could leave multiple
objects referring to the same resources, potentially causing invalid
ownership or double deletion.
Since neither class is intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructors and assignment operators
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly delete the copy constructor and copy assignment operator for
FFTEngine, which owns dynamically allocated FFTBuffers.
Allowing the implicitly generated copy operations would result in shallow
copies of m_fftBuffers, leaving multiple FFTEngine instances referring to
the same resource and potentially causing invalid ownership or double
deletion.
Since FFTEngine is not intended to be copied or assigned, prohibit both
operations at compile time, turning potential runtime errors into
compile-time errors.
cppcheck identified the missing copy constructor and assignment operator
with its noCopyConstructor and noOperatorEq warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Explicitly select normalized install() DESTINATION path behavior
introduced in CMake 3.31. This removes redundant path components
such as "." from install destinations while preserving their
installation locations and reduces warnings on Windows-x64 builds.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Initialize devicePixelRatio to avoid a GCC 14.2 -Wmaybe-uninitialized
warning when the window handle is unavailable.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Avoid binding range-loop variables to temporary QString values and
compare channel type strings by value instead of pointer address.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Handle unsupported DVB-S2 code rates in get_dvbs2_rate() instead of
using uninitialized FEC numerator and denominator values. Resolves
a compiler warning.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Handle unsupported modulation and DVB-S code rates in
getDVBSDataBitrate() and stop checkBitrates() when no valid bitrate
can be calculated.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Initialize the next row index and FFT measurement value to avoid
potentially using uninitialized variables reported by GCC 14.2.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Reorder AFC and magnitude-squared member initializers to match their
declaration order and avoid -Wreorder warnings.
Signed-off-by: Robin Getz <rgetz503@gmail.com>