aboutsummaryrefslogtreecommitdiff
path: root/mod/page.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-25 22:22:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:52:33 +0300
commit0bbd98cffae9274936a0ac7cc579756182579e4e (patch)
tree9d09099468140df2785f13fbc5de2a892f085dee /mod/page.hxx
parent599bd6335c27ff2c1a48cc0b3a5ee115d49afcda (diff)
Adapt to using butl::small_vector instead of std::vector for some manifest values
Diffstat (limited to 'mod/page.hxx')
-rw-r--r--mod/page.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/page.hxx b/mod/page.hxx
index 2fc3a0b..cba8358 100644
--- a/mod/page.hxx
+++ b/mod/page.hxx
@@ -329,14 +329,16 @@ namespace brep
class TR_TOPICS
{
public:
- TR_TOPICS (const strings& ts, const dir_path& r, const string& t)
+ TR_TOPICS (const small_vector<string, 5>& ts,
+ const dir_path& r,
+ const string& t)
: topics_ (ts), root_ (r), tenant_ (t) {}
void
operator() (xml::serializer&) const;
private:
- const strings& topics_;
+ const small_vector<string, 5>& topics_;
const dir_path& root_;
const string& tenant_;
};