diff options
Diffstat (limited to 'src/bun.js/bindings/webcore/HTTPHeaderNames.h')
-rw-r--r-- | src/bun.js/bindings/webcore/HTTPHeaderNames.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bun.js/bindings/webcore/HTTPHeaderNames.h b/src/bun.js/bindings/webcore/HTTPHeaderNames.h index 246afeefa..870c4980f 100644 --- a/src/bun.js/bindings/webcore/HTTPHeaderNames.h +++ b/src/bun.js/bindings/webcore/HTTPHeaderNames.h @@ -334,12 +334,11 @@ static StaticStringImpl* staticHeaderNames[] = { MAKE_STATIC_STRING_IMPL("x-xss-protection"), }; -static WTF::StaticStringImpl* httpHeaderNameStringImpl(WebCore::HTTPHeaderName headerName) { +static WTF::StaticStringImpl* httpHeaderNameStringImpl(WebCore::HTTPHeaderName headerName) +{ return staticHeaderNames[static_cast<size_t>(headerName)]; } - } // namespace WTF - #endif // HTTPHeaderNames_h |