summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-08-08 20:41:22 +0200
committerGitHub <noreply@github.com>2018-08-08 20:41:22 +0200
commit269b9c2d80fb333f3bb049df9898437356cff784 (patch)
tree955d325723425a605e644670fc8845c50df7c81c /vespalib
parent6c17b52cb68feeb35afa6cb77ead966756b391d6 (diff)
parent7bf3c8c42007d878cba06e7725df7588203c2619 (diff)
Merge pull request #6485 from vespa-engine/balder/transfer-when-selecting-the-best
Balder/transfer when selecting the best
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/box.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/vespalib/src/vespa/vespalib/util/box.h b/vespalib/src/vespa/vespalib/util/box.h
index 5fb81cc9d28..efa5d9653f1 100644
--- a/vespalib/src/vespa/vespalib/util/box.h
+++ b/vespalib/src/vespa/vespalib/util/box.h
@@ -44,11 +44,16 @@ Box<T> make_box(const T &t1, const T &t2, const T &t3, const T &t4) {
}
template <typename T>
-Box<T> make_box(const T &t1, const T &t2, const T &t3, const T &t4,
- const T &t5)
+Box<T> make_box(const T &t1, const T &t2, const T &t3, const T &t4, const T &t5)
{
return Box<T>().add(t1).add(t2).add(t3).add(t4).add(t5);
}
+template <typename T>
+Box<T> make_box(const T &t1, const T &t2, const T &t3, const T &t4, const T &t5, const T &t6)
+{
+ return Box<T>().add(t1).add(t2).add(t3).add(t4).add(t5).add(t6);
+}
+
} // namespace vespalib