Bugzilla – Full Text Bug Listing |
Summary: | bs-scheduler-rtps.cc uses struct declared as private in wimax-mac-queue.h | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Quincy Tse <quincy.tse> |
Component: | wimax | Assignee: | Flavio Kubota <kubota> |
Status: | NEW --- | ||
Severity: | trivial | CC: | ns-bugs |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Patch by making QueueElement public |
(In reply to comment #0) > BSSchedulerRtps::BSSchedulerRTPSConnection uses a std::deque<WimaxMacQueue> but > the scheduler is not a friend of WimaxMacQueue. Making the scheduler or the function a friend of the queue introduces extra dependencies in the files, and may cause circular references in the .h file. |
Created attachment 1083 [details] Patch by making QueueElement public WimaxMacQueue::QueueElement is a private struct. BSSchedulerRtps::BSSchedulerRTPSConnection uses a std::deque<WimaxMacQueue> but the scheduler is not a friend of WimaxMacQueue.