Skip to content

core: (fixes #1049) add error message to ObjectFactory::Create

Now the error message is something like:

NS_ASSERT failed, cond="obj != nullptr", msg="ObjectFactory::Create error: incompatible types (ns3::SpectrumPropagationLossModel and ns3::NakagamiPropagationLossModel)", +0.000000000s -1 file=/Users/pecos/Development/workspace/ns-3-dev/src/core/model/object-factory.h, line=211
NS_FATAL, terminating

Merge request reports