Bug 1104 - bs-scheduler-rtps.cc uses struct declared as private in wimax-mac-queue.h
bs-scheduler-rtps.cc uses struct declared as private in wimax-mac-queue.h
Status: NEW
Product: ns-3
Classification: Unclassified
Component: wimax
ns-3-dev
All All
: P5 trivial
Assigned To: Flavio Kubota
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-18 04:01 EDT by Quincy Tse
Modified: 2011-04-18 04:04 EDT (History)
1 user (show)

See Also:


Attachments
Patch by making QueueElement public (786 bytes, patch)
2011-04-18 04:01 EDT, Quincy Tse
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.