Bugzilla – Bug 1104
bs-scheduler-rtps.cc uses struct declared as private in wimax-mac-queue.h
Last modified: 2011-04-18 04:04:20 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.
(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.