Bug 1104

Summary: bs-scheduler-rtps.cc uses struct declared as private in wimax-mac-queue.h
Product: ns-3 Reporter: Quincy Tse <quincy.tse>
Component: wimaxAssignee: 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

Description Quincy Tse 2011-04-18 04:01:42 EDT
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.
Comment 1 Quincy Tse 2011-04-18 04:04:20 EDT
(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.