From f95d8bf159d10b5a9521dcaa0bc37aa0e9dfc02b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 5 May 2024 21:10:18 +0200 Subject: MHR-23: Add run_format.sh, kernel patches. Signed-off-by: Amlal El Mahrouss --- Private/CFKit/URL.hpp | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'Private/CFKit/URL.hpp') diff --git a/Private/CFKit/URL.hpp b/Private/CFKit/URL.hpp index 41693e0e..c9262133 100644 --- a/Private/CFKit/URL.hpp +++ b/Private/CFKit/URL.hpp @@ -10,23 +10,24 @@ #include #include -namespace NewOS { -class URL final { - public: - explicit URL(StringView &strUrl); - ~URL(); - - public: - Ref> Location() noexcept; - Ref> Protocol() noexcept; - - private: - Ref fUrlView; -}; - -ErrorOr url_extract_location(const char *url); -ErrorOr url_extract_protocol(const char *url); -} // namespace NewOS - +namespace NewOS +{ + class URL final + { + public: + explicit URL(StringView& strUrl); + ~URL(); + + public: + Ref> Location() noexcept; + Ref> Protocol() noexcept; + + private: + Ref fUrlView; + }; + + ErrorOr url_extract_location(const char* url); + ErrorOr url_extract_protocol(const char* url); +} // namespace NewOS #endif /* ifndef _INC_URL_HPP_ */ -- cgit v1.2.3