aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/page.cxx4
-rw-r--r--mod/page.hxx5
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_;
};