aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/build-config-module.cxx2
-rw-r--r--mod/build-config-module.hxx2
-rw-r--r--mod/page.hxx6
3 files changed, 6 insertions, 4 deletions
diff --git a/mod/build-config-module.cxx b/mod/build-config-module.cxx
index 02bba01..d21849e 100644
--- a/mod/build-config-module.cxx
+++ b/mod/build-config-module.cxx
@@ -163,7 +163,7 @@ namespace brep
{"default"}, '+', "Default.");
bool build_config_module::
- exclude (const vector<build_class_expr>& exprs,
+ exclude (const small_vector<build_class_expr, 1>& exprs,
const vector<build_constraint>& constrs,
const build_config& cfg,
string* reason) const
diff --git a/mod/build-config-module.hxx b/mod/build-config-module.hxx
index 3ad1a83..25ddbb4 100644
--- a/mod/build-config-module.hxx
+++ b/mod/build-config-module.hxx
@@ -47,7 +47,7 @@ namespace brep
// requested.
//
bool
- exclude (const vector<bpkg::build_class_expr>&,
+ exclude (const small_vector<bpkg::build_class_expr, 1>&,
const vector<bpkg::build_constraint>&,
const bbot::build_config&,
string* reason = nullptr) const;
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_;
};