aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-07 19:03:14 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-07 19:04:23 +0300
commitb5c1c8d0bd04367e26abbcded63309b4ed5e8be3 (patch)
tree10235fe9d0e790057c92cff26b3ee2a9894f1af6
parenta7cae5f5ffdf64ac35f5a351d8db27642d363f5e (diff)
Fix to compile with g++ 4.9
-rw-r--r--libbrep/package.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbrep/package.cxx b/libbrep/package.cxx
index 1b7c4f6..b985af3 100644
--- a/libbrep/package.cxx
+++ b/libbrep/package.cxx
@@ -117,9 +117,9 @@ namespace brep
sha256sum (move (sh))
{
if (stub ())
- unbuildable_reason = unbuildable_reason::stub;
+ unbuildable_reason = brep::unbuildable_reason::stub;
else if (!internal_repository->buildable)
- unbuildable_reason = unbuildable_reason::unbuildable;
+ unbuildable_reason = brep::unbuildable_reason::unbuildable;
buildable = !unbuildable_reason;
@@ -140,8 +140,8 @@ namespace brep
build_constraints (move (bc)),
buildable (false),
unbuildable_reason (stub ()
- ? unbuildable_reason::stub
- : unbuildable_reason::external)
+ ? brep::unbuildable_reason::stub
+ : brep::unbuildable_reason::external)
{
assert (!rp->internal);
other_repositories.emplace_back (move (rp));