Index: lib/discord/thirdparty/rapidjson/document.h
--- lib/discord/thirdparty/rapidjson/document.h.orig
+++ lib/discord/thirdparty/rapidjson/document.h
@@ -323,7 +323,7 @@ struct GenericStringRef {
     operator const Ch *() const { return s; }
 
     const Ch* const s; //!< plain CharType pointer
-    const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
+    SizeType length; //!< length of the string (excluding the trailing NULL terminator)
 
 private:
     //! Disallow construction from non-const array
