aboutsummaryrefslogtreecommitdiff
path: root/libbbot/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:36:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:36:04 +0300
commitbf4822a17eed8bdaf9d337caf806c63c82b06a89 (patch)
tree5885d17a2d8d88e6b0f18f44c4bc3871670534e2 /libbbot/manifest.hxx
parent0e7c846f7b971366ea0dc5fb81477165495bebb9 (diff)
Make buildtab target to be non-optional
Diffstat (limited to 'libbbot/manifest.hxx')
-rw-r--r--libbbot/manifest.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/libbbot/manifest.hxx b/libbbot/manifest.hxx
index 36f2f5b..cd0ddfe 100644
--- a/libbbot/manifest.hxx
+++ b/libbbot/manifest.hxx
@@ -117,13 +117,9 @@ namespace bbot
//
strings trust;
- // Build machine to use for building the package.
- //
- std::string machine;
+ std::string machine; // Build machine to use for building the package.
- // Default for the machine if absent.
- //
- butl::optional<butl::target_triplet> target;
+ butl::target_triplet target;
// Build system configuration variables (in addition to build environment
// configuration variables).
@@ -148,7 +144,7 @@ namespace bbot
bpkg::repository_location rl,
strings tr,
std::string mn,
- butl::optional<butl::target_triplet> tg,
+ butl::target_triplet tg,
strings cf,
strings wr)
: name (std::move (nm)),