utils: Fix deprecation warnings

Deprecation warning for name ns3::EnergyHarvesterContainer; use ns3::energy::EnergyHarvesterContainer instead
Deprecation warning for name ns3::EnergySourceContainer; use ns3::energy::EnergySourceContainer instead
This commit is contained in:
André Apitzsch
2025-02-21 12:19:06 +01:00
committed by Tom Henderson
parent f6d2f66f95
commit 372c2c1157

View File

@@ -565,8 +565,8 @@ GetTypicalAggregations()
info.RecordAggregationInfo("ns3::Node", "ns3::dsdv::RoutingProtocol");
info.RecordAggregationInfo("ns3::Node", "ns3::dsr::DsrRouting");
info.RecordAggregationInfo("ns3::Node", "ns3::olsr::RoutingProtocol");
info.RecordAggregationInfo("ns3::Node", "ns3::EnergyHarvesterContainer");
info.RecordAggregationInfo("ns3::Node", "ns3::EnergySourceContainer");
info.RecordAggregationInfo("ns3::Node", "ns3::energy::EnergyHarvesterContainer");
info.RecordAggregationInfo("ns3::Node", "ns3::energy::EnergySourceContainer");
// Create a channel object so that channels appear in the namespace
// paths that will be generated here.