cmcfarlen commented on code in PR #12592:
URL: https://github.com/apache/trafficserver/pull/12592#discussion_r2463154617


##########
src/proxy/hdrs/MIME.cc:
##########
@@ -51,17 +53,58 @@ using swoc::TextView;
  *                          C O N S T A N T S                          *
  *                                                                     *
  ***********************************************************************/
-static DFA *day_names_dfa   = nullptr;
-static DFA *month_names_dfa = nullptr;
 
-static constexpr const char *day_names[] = {
+static constexpr std::array<std::string_view, 7> day_names = {

Review Comment:
   consider anonymous namespace instead of static for files scoped things.



-- 
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: [email protected]

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

Reply via email to