Commit c6e2767a authored by Kenton Varda's avatar Kenton Varda

Fix gcc-4.8

parent 31d0f0d2
......@@ -121,7 +121,7 @@ struct LocalCapDescriptor {
};
template <>
StructSize structSize<LocalCapDescriptor>() {
constexpr StructSize structSize<LocalCapDescriptor>() {
return StructSize(1 * WORDS, 0 * POINTERS, FieldSize::FOUR_BYTES);
}
......
......@@ -352,7 +352,7 @@ ForkBranchBase::ForkBranchBase(Own<const ForkHubBase>&& hubParam): hub(kj::mv(hu
}
}
ForkBranchBase::~ForkBranchBase() {
ForkBranchBase::~ForkBranchBase() noexcept(false) {
if (prevPtr != nullptr) {
// Remove from hub's linked list of branches.
auto lock = hub->branchList.lockExclusive();
......
......@@ -975,7 +975,7 @@ class ForkHubBase;
class ForkBranchBase: public PromiseNode {
public:
ForkBranchBase(Own<const ForkHubBase>&& hub);
~ForkBranchBase();
~ForkBranchBase() noexcept(false);
void hubReady() noexcept;
// 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