From 89005254cfa484a17839ffff295b7e658ba3b18b Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 29 Sep 2020 09:57:44 -0400
Subject: [PATCH] More blood for the blood gods

---
 indra/llcorehttp/httpcommon.h | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/indra/llcorehttp/httpcommon.h b/indra/llcorehttp/httpcommon.h
index 69a343655ef..01df4f934d0 100644
--- a/indra/llcorehttp/httpcommon.h
+++ b/indra/llcorehttp/httpcommon.h
@@ -299,7 +299,14 @@ enum HttpError
 struct HttpStatus
 {
 	typedef unsigned short type_enum_t;
-	
+	enum : type_enum_t
+	{
+		EXT_CURL_EASY = 0,  ///< mStatus is an error from a curl_easy_*() call
+		EXT_CURL_MULTI = 1, ///< mStatus is an error from a curl_multi_*() call
+		LLCORE = 2			///< mStatus is an HE_* error code
+							///< 100-999 directly represent HTTP status codes
+	};
+
 	HttpStatus()
 	{
 		mDetails = boost::make_shared<Details>(LLCORE, HE_SUCCESS);
@@ -344,10 +351,6 @@ struct HttpStatus
         return *this;
     }
 	
-	static const type_enum_t EXT_CURL_EASY = 0;			///< mStatus is an error from a curl_easy_*() call
-	static const type_enum_t EXT_CURL_MULTI = 1;		///< mStatus is an error from a curl_multi_*() call
-	static const type_enum_t LLCORE = 2;				///< mStatus is an HE_* error code
-														///< 100-999 directly represent HTTP status codes
 	/// Test for successful status in the code regardless
 	/// of error source (internal, libcurl).
 	///
-- 
GitLab