AD5GB opened a new pull request #8270:
URL: https://github.com/apache/trafficserver/pull/8270


   Signed-off-by: Randy DuCharme <[email protected]>
   
   Fixes the following compile failure:
   
    CXX      experimental/tls_bridge/regex.lo
     CC       experimental/url_sig/url_sig.lo
   In file included from 
../../trafficserver/plugins/experimental/traffic_dump/traffic_dump.cc:29:
   ../../trafficserver/plugins/experimental/traffic_dump/session_data.h:110:15: 
error: ‘optional’ in namespace ‘std’ does not name a template type
     110 |   static std::optional<IpAddr> client_ip_filter;
         |               ^~~~~~~~
   ../../trafficserver/plugins/experimental/traffic_dump/session_data.h:36:1: 
note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to 
‘#include <optional>’?
      35 | #include "tscore/ts_file.h"
     +++ |+#include <optional>
      36 |
   In file included from 
../../trafficserver/plugins/experimental/traffic_dump/transaction_data.cc:29:
   ../../trafficserver/plugins/experimental/traffic_dump/session_data.h:110:15: 
error: ‘optional’ in namespace ‘std’ does not name a template type
     110 |   static std::optional<IpAddr> client_ip_filter;
         |               ^~~~~~~~
   ../../trafficserver/plugins/experimental/traffic_dump/session_data.h:36:1: 
note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to 
‘#include <optional>’?
      35 | #include "tscore/ts_file.h"
     +++ |+#include <optional>
      36 |
      .
      .
      .
      .


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