You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "cmcfarlen (via GitHub)" <gi...@apache.org> on 2023/06/27 19:09:08 UTC
[GitHub] [trafficserver] cmcfarlen commented on a diff in pull request #9875: libswoc: Update WCCP use of Errata.
cmcfarlen commented on code in PR #9875:
URL: https://github.com/apache/trafficserver/pull/9875#discussion_r1244225534
##########
include/wccp/Wccp.h:
##########
@@ -121,7 +124,7 @@ class ServiceGroup : public ServiceConstants
static uint8_t const RESERVED = 50;
/// Number of ports in component (defined by protocol).
- static size_t const N_PORTS = 8;
+ static constexpr size_t const N_PORTS = 8;
Review Comment:
The effect is you don't have to define this in a cpp file.
--
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