Commit c6e2767a authored by Kenton Varda's avatar Kenton Varda

Fix gcc-4.8

parent 31d0f0d2
...@@ -121,7 +121,7 @@ struct LocalCapDescriptor { ...@@ -121,7 +121,7 @@ struct LocalCapDescriptor {
}; };
template <> template <>
StructSize structSize<LocalCapDescriptor>() { constexpr StructSize structSize<LocalCapDescriptor>() {
return StructSize(1 * WORDS, 0 * POINTERS, FieldSize::FOUR_BYTES); return StructSize(1 * WORDS, 0 * POINTERS, FieldSize::FOUR_BYTES);
} }
......
...@@ -352,7 +352,7 @@ ForkBranchBase::ForkBranchBase(Own<const ForkHubBase>&& hubParam): hub(kj::mv(hu ...@@ -352,7 +352,7 @@ ForkBranchBase::ForkBranchBase(Own<const ForkHubBase>&& hubParam): hub(kj::mv(hu
} }
} }
ForkBranchBase::~ForkBranchBase() { ForkBranchBase::~ForkBranchBase() noexcept(false) {
if (prevPtr != nullptr) { if (prevPtr != nullptr) {
// Remove from hub's linked list of branches. // Remove from hub's linked list of branches.
auto lock = hub->branchList.lockExclusive(); auto lock = hub->branchList.lockExclusive();
......
...@@ -975,7 +975,7 @@ class ForkHubBase; ...@@ -975,7 +975,7 @@ class ForkHubBase;
class ForkBranchBase: public PromiseNode { class ForkBranchBase: public PromiseNode {
public: public:
ForkBranchBase(Own<const ForkHubBase>&& hub); ForkBranchBase(Own<const ForkHubBase>&& hub);
~ForkBranchBase(); ~ForkBranchBase() noexcept(false);
void hubReady() noexcept; void hubReady() noexcept;
// Called by the hub to indicate that it is ready. // Called by the hub to indicate that it is ready.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment