You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/03/16 19:31:02 UTC

[trafficserver] 01/02: Remove inline for detail::cache::CacheData::idAddr (#7592)

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

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

commit 181ecaf6517b62474be9d8b2bdff9482893f8cf7
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Mon Mar 15 19:32:31 2021 -0500

    Remove inline for detail::cache::CacheData::idAddr (#7592)
    
    This avoids a warning in FreeBSD clang-10 builds.
    
    (cherry picked from commit 7af385faf5bfb644ae200682fb156d1433437683)
---
 src/wccp/WccpEndPoint.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wccp/WccpEndPoint.cc b/src/wccp/WccpEndPoint.cc
index 50b7da2..2298a84 100644
--- a/src/wccp/WccpEndPoint.cc
+++ b/src/wccp/WccpEndPoint.cc
@@ -357,7 +357,7 @@ CacheImpl::RouterData::waitTime(time_t now) const
   return m_assign ? 0 : this->pingTime(now);
 }
 
-inline uint32_t
+uint32_t
 detail::cache::CacheData::idAddr() const
 {
   return m_id.getAddr();