Closed bobmourlam closed 4 years ago
Previously when I added the Args... parameter pack I was passing by value, but that doesn't work if one of the constructor params to the transport/mac layer takes a non-const reference.
I tested this with a changed here. I don't intend to pull request that change: https://github.com/bobmourlam/emane-embedded-example/blob/master/src/radiomodel.h#L54 https://github.com/bobmourlam/emane-embedded-example/blob/master/src/emane-embedded-example.cc#L161
Thanks for the update.
Previously when I added the Args... parameter pack I was passing by value, but that doesn't work if one of the constructor params to the transport/mac layer takes a non-const reference.
I tested this with a changed here. I don't intend to pull request that change: https://github.com/bobmourlam/emane-embedded-example/blob/master/src/radiomodel.h#L54 https://github.com/bobmourlam/emane-embedded-example/blob/master/src/emane-embedded-example.cc#L161