static -> inline
Declaring a function static in a header makes no sense, because a header
isn't a compile unit. Find all the issues and replace them with inline.
Change-Id: Icfc2b72d94b41a3a880da1ae6975beaa30a6792b
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/http/http_client.hpp b/http/http_client.hpp
index 08ff2b6..e2fa8db 100644
--- a/http/http_client.hpp
+++ b/http/http_client.hpp
@@ -80,8 +80,7 @@
retry
};
-static inline boost::system::error_code
- defaultRetryHandler(unsigned int respCode)
+inline boost::system::error_code defaultRetryHandler(unsigned int respCode)
{
// As a default, assume 200X is alright
BMCWEB_LOG_DEBUG("Using default check for response code validity");