This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 05398aa  ssl_session_resuse:  operator for redis endpoint compare 
functor must be const for STL compatability.
05398aa is described below

commit 05398aa981f37a2b67a85d962b56b8563c2ce689
Author: Walter Karas <[email protected]>
AuthorDate: Mon Apr 29 18:21:50 2019 -0500

    ssl_session_resuse:  operator for redis endpoint compare functor must be 
const for STL compatability.
---
 plugins/experimental/ssl_session_reuse/src/redis_endpoint.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/ssl_session_reuse/src/redis_endpoint.h 
b/plugins/experimental/ssl_session_reuse/src/redis_endpoint.h
index 77584e4..2762d9b 100644
--- a/plugins/experimental/ssl_session_reuse/src/redis_endpoint.h
+++ b/plugins/experimental/ssl_session_reuse/src/redis_endpoint.h
@@ -38,7 +38,7 @@ typedef struct redis_endpoint {
 
 typedef struct redis_endpoint_compare {
   bool
-  operator()(const RedisEndpoint &lhs, const RedisEndpoint &rhs)
+  operator()(const RedisEndpoint &lhs, const RedisEndpoint &rhs) const
   {
     return lhs.m_hostname < rhs.m_hostname || (lhs.m_hostname == 
rhs.m_hostname && lhs.m_port < rhs.m_port);
   }

Reply via email to