Simulation_Management_Header copy constructor doesn't
DIS(IEEE 1278.1) Fully Implemented in C++
Brought to you by:
karljj1
The Simulation_Management_Header constructor that is invoked when copying a PDU with a simulation management header (for example, a Data PDU) is the Simulation_Management_Header(const Header& H) constructor, which does not copy the originating or receiving entity IDs, resulting in very surprising bugs.
Anonymous
https://sourceforge.net/u/dalem2/kdis/ci/8300c9e412243a79c07e986b2d8a7be00da566e9/
Added the explicit keyword to the ctors and a true copy ctor for the class.
Submitted merge request.