Fix the [[maybe_unused]] specifier placement to always come after the variable name
This commit is contained in:
@@ -296,7 +296,7 @@ RoutingExperiment::Run(int nSinks, double txp, std::string CSVfileName)
|
||||
NetDeviceContainer adhocDevices = wifi.Install(wifiPhy, wifiMac, adhocNodes);
|
||||
|
||||
MobilityHelper mobilityAdhoc;
|
||||
[[maybe_unused]] int64_t streamIndex = 0; // used to get consistent mobility across scenarios
|
||||
int64_t streamIndex [[maybe_unused]] = 0; // used to get consistent mobility across scenarios
|
||||
|
||||
ObjectFactory pos;
|
||||
pos.SetTypeId("ns3::RandomRectanglePositionAllocator");
|
||||
|
||||
Reference in New Issue
Block a user