diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-01 18:08:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-01 18:08:26 +0300 |
commit | 96511bdc00c2e4c17517b0cc3fce50a08683b2a4 (patch) | |
tree | 8625f9160100afb205f2dd31a39a9be1a40c4133 /mod | |
parent | e326eacee55d5bff5fd18aefece07cd7f7daacee (diff) |
Adapt to renaming bpkg::url class to bpkg::manifest_url
Diffstat (limited to 'mod')
-rw-r--r-- | mod/page.cxx | 4 | ||||
-rw-r--r-- | mod/page.hxx | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/mod/page.cxx b/mod/page.cxx index c7dc403..1e317f0 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -14,8 +14,6 @@ #include <libstudxml/serializer.hxx> -#include <libbutl/url.mxx> - #include <web/xhtml/fragment.hxx> #include <web/xhtml/serialization.hxx> @@ -576,7 +574,7 @@ namespace brep if (icasecmp (url_.scheme, "https") == 0 || icasecmp (url_.scheme, "http") == 0) { - butl::url u (url_); + url u (url_); u.scheme.clear (); s << A(HREF=url_) << u << ~A; diff --git a/mod/page.hxx b/mod/page.hxx index 49d8608..cc9840e 100644 --- a/mod/page.hxx +++ b/mod/page.hxx @@ -378,13 +378,14 @@ namespace brep class TR_URL { public: - TR_URL (const url& u, const char* l = "url"): url_ (u), label_ (l) {} + TR_URL (const manifest_url& u, const char* l = "url") + : url_ (u), label_ (l) {} void operator() (xml::serializer&) const; private: - const url& url_; + const manifest_url& url_; const char* label_; }; |