You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2023/03/15 17:58:06 UTC

[GitHub] [trafficserver] bneradt commented on pull request #9424: combine UDPPacket and UDPPacketInternal

bneradt commented on PR #9424:
URL: https://github.com/apache/trafficserver/pull/9424#issuecomment-1470501400

   > That would have the same problem I think. The contents of UdpPacketInternal would be visible in files where it is not currently visible (loss of scoping).
   
   How? Currently the contents of UDPPacketInternal are accessed through a cast via . My suggestion is to make UDPacketInternal an object contained in UDPPacket. It would be accessed as a member. It shouldn't change any scoping and it would eliminate the awkward inheritance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org