aboutsummaryrefslogtreecommitdiff
path: root/libbbot/manifest.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-19 08:11:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-03-19 08:11:38 +0200
commite0812957d606ddbde9db9df6cb468eb4ad689320 (patch)
tree7586beae6873603ae87efcc374a1cb95767e7bde /libbbot/manifest.hxx
parented8e64ca8525872c97f9331cb5c882b40864b84e (diff)
Validate ram-{minimum,maximum} in machine header manifest are not zeroHEADmaster
Diffstat (limited to 'libbbot/manifest.hxx')
-rw-r--r--libbbot/manifest.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbbot/manifest.hxx b/libbbot/manifest.hxx
index a815d3e..909d47d 100644
--- a/libbbot/manifest.hxx
+++ b/libbbot/manifest.hxx
@@ -52,8 +52,8 @@ namespace bbot
std::string name;
std::string summary;
butl::optional<machine_role> role;
- butl::optional<std::uint64_t> ram_minimum; // In KiB.
- butl::optional<std::uint64_t> ram_maximum; // In KiB.
+ butl::optional<std::uint64_t> ram_minimum; // In KiB, non-zero.
+ butl::optional<std::uint64_t> ram_maximum; // In KiB, non-zero.
// Return the effective machine role. If the role is not explicitly
// specified, then the build role is assumed.