diff options
Diffstat (limited to 'libbutl/url.ixx')
-rw-r--r-- | libbutl/url.ixx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbutl/url.ixx b/libbutl/url.ixx index 9ff3653..b823ee7 100644 --- a/libbutl/url.ixx +++ b/libbutl/url.ixx @@ -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 (); + } } |