diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-24 00:25:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-24 17:11:47 +0300 |
commit | 6ce19c537bd9de8d3c9821841bc5ed680b762742 (patch) | |
tree | 2a487b1d5ec75b05e3001a461f149e14e5a859a8 /mod/page.hxx | |
parent | 3363e1239973a66722f681999771964e39a98332 (diff) |
Adapt to inventing package_name type
Diffstat (limited to 'mod/page.hxx')
-rw-r--r-- | mod/page.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/page.hxx b/mod/page.hxx index 51b4b92..2b8c31f 100644 --- a/mod/page.hxx +++ b/mod/page.hxx @@ -163,14 +163,14 @@ namespace brep class TR_NAME { public: - TR_NAME (const string& n, const string& q, const dir_path& r) + TR_NAME (const package_name& n, const string& q, const dir_path& r) : name_ (n), query_param_ (q), root_ (r) {} void operator() (xml::serializer&) const; private: - const string& name_; + const package_name& name_; const string& query_param_; const dir_path& root_; }; @@ -182,7 +182,7 @@ namespace brep public: // Display the version as a link to the package version details page. // - TR_VERSION (const string& p, const version& v, const dir_path& r) + TR_VERSION (const package_name& p, const version& v, const dir_path& r) : package_ (&p), version_ (v.string ()), stub_ (v.compare (wildcard_version, true) == 0), @@ -204,7 +204,7 @@ namespace brep operator() (xml::serializer&) const; private: - const string* package_; + const package_name* package_; string version_; bool stub_; const dir_path* root_; |