aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-12-21 17:38:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-01-13 14:09:15 +0300
commitfc5da517f670a7ddf844527bfb3dbb9c9c2d482d (patch)
treed331d6e6316bbc27ce1efe0558e7cbaac787059c
parentfd1818e7cc30a928859a82e910f7c2825e585352 (diff)
Use butl::small_vector for package manifest license alternatives
-rw-r--r--libbpkg/manifest.hxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 08f8a8e..d72a55e 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -847,12 +847,7 @@ namespace bpkg
butl::optional<priority_type> priority;
std::string summary;
- // @@ Replace with small_vector<licenses, 1>. Note that currently it is
- // unsupported by the odb::nested_*() functions that are
- // std::vector-specific.
- //
- std::vector<licenses> license_alternatives;
-
+ butl::small_vector<licenses, 1> license_alternatives;
butl::small_vector<std::string, 5> topics;
butl::small_vector<std::string, 5> keywords;
butl::optional<text_file> description;