scw00 commented on a change in pull request #6836:
URL: https://github.com/apache/trafficserver/pull/6836#discussion_r433608135



##########
File path: iocore/net/quic/QUICFrame.h
##########
@@ -767,7 +770,7 @@ class QUICFrameFactory
    * This works almost the same as create() but it reuses created objects for 
performance.
    * If you create a frame object which has the same frame type that you 
created before, the object will be reset by new data.
    */
-  const QUICFrame &fast_create(const uint8_t *buf, size_t len, const 
QUICPacketR *packet);
+  QUICFrame &fast_create(const uint8_t *buf, size_t len, const QUICPacketR 
*packet);

Review comment:
       Because we can not convert QUICFrame to specified QUICXXXFrame with 
const flag.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to