Copilot commented on code in PR #12155:
URL: https://github.com/apache/trafficserver/pull/12155#discussion_r2025708986


##########
include/cripts/Headers.hpp:
##########
@@ -345,18 +345,20 @@ class Header
       _hdr_loc = nullptr;
       _bufp    = nullptr;
     }
-    _state = nullptr;
+    _initialized = false;
   }
 
   [[nodiscard]] TSMBuffer
-  BufP() const
+  BufP()

Review Comment:
   Changing BufP() from a const method to a non-const one might break 
const-correctness. Verify that modifying the constness is intended.
   ```suggestion
     BufP() const
   ```



-- 
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-unsubscr...@trafficserver.apache.org

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

Reply via email to