summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/net
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-28 10:15:01 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-28 10:15:01 -0500
commit83bdb3bd0ce5ca6301aec047c1886c8d00e34085 (patch)
tree2f2010e6a6d3e9c3522c2de61bdb15e29b1d28e5 /include/ocl/net
parent2ce555077458bbb2f36a9076edd312d3293ad56f (diff)
chore: basic_url has new ref_type, new deprecated macros.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/net')
-rw-r--r--include/ocl/net/url.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ocl/net/url.hpp b/include/ocl/net/url.hpp
index 1b5f80c..361cd66 100644
--- a/include/ocl/net/url.hpp
+++ b/include/ocl/net/url.hpp
@@ -23,7 +23,7 @@ namespace ocl::net
class basic_url final
{
public:
- using reference = basic_url&;
+ using ref_type = basic_url&;
enum
{
@@ -76,7 +76,7 @@ namespace ocl::net
basic_url(const basic_url&) = default;
private:
- reference operator/=(const std::basic_string<char_type>& in)
+ ref_type operator/=(const std::basic_string<char_type>& in)
{
if (in.empty())
return *this;
@@ -91,7 +91,7 @@ namespace ocl::net
return *this;
}
- reference operator/=(const char_type& in)
+ ref_type operator/=(const char_type& in)
{
m_ss_ += in;
return *this;