diff options
Diffstat (limited to 'libbutl/url.ixx')
-rw-r--r-- | libbutl/url.ixx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libbutl/url.ixx b/libbutl/url.ixx index 9ff3653..19d54c7 100644 --- a/libbutl/url.ixx +++ b/libbutl/url.ixx @@ -1,7 +1,7 @@ // file : libbutl/url.ixx -*- C++ -*- // license : MIT; see accompanying LICENSE file -LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. +namespace butl { // url_traits // @@ -116,4 +116,12 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. rootless (true) { } + + template <typename S, typename T> + inline void basic_url<S, T>:: + normalize () + { + if (authority) + authority->host.normalize (); + } } |