Skip to content

spectrum: (fixes #995) Implement a proper copy ctor for SpectrumSignalParameters

Biljana Bojovic requested to merge biljkus/ns-3-dev:fix-995 into master

The initial idea of the code was to achieve some optimizations by not providing a deep copy of all the members, but since #995 (closed) it seems that this kind of shallow copy in combination with C++20 optimization can lead to bugs and wrong behavior.

So, with this fix, we provide a proper copy constructor.

Merge request reports