From f473594e99e9b66976d20d83a9d406d86b3d9945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20R=2E=20Gue=CC=81rin?= Date: Wed, 14 Aug 2019 15:15:22 +0200 Subject: [PATCH] Add missing static keyword to a couple of IPv6 helper functions --- com.ibm.streamsx.network/impl/include/IPv6AddressFunctions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.ibm.streamsx.network/impl/include/IPv6AddressFunctions.h b/com.ibm.streamsx.network/impl/include/IPv6AddressFunctions.h index 67e53751..c586405d 100644 --- a/com.ibm.streamsx.network/impl/include/IPv6AddressFunctions.h +++ b/com.ibm.streamsx.network/impl/include/IPv6AddressFunctions.h @@ -270,7 +270,7 @@ namespace com { namespace ibm { namespace streamsx { namespace network { namespa return isInRange_(decStartIP, decEndIP, decIP); } - SPL::boolean isInNetwork(SPL::rstring const & networkCIDR, SPL::rstring const & ip) + static SPL::boolean isInNetwork(SPL::rstring const & networkCIDR, SPL::rstring const & ip) { SPL::list tokens = SPL::Functions::String::tokenize(networkCIDR, "/", false); SPL::rstring networkIP = tokens[0]; @@ -312,7 +312,7 @@ namespace com { namespace ibm { namespace streamsx { namespace network { namespa return isInRange_(netStart, netEnd, decIP); } - SPL::boolean isInNetworkList(SPL::list const & networkList, SPL::rstring const & ip) + static SPL::boolean isInNetworkList(SPL::list const & networkList, SPL::rstring const & ip) { SPL::list::const_iterator it; for(it = networkList.begin(); it != networkList.end(); ++it)