Commit 3ff5d10e authored by Kenton Varda's avatar Kenton Varda

Fix build on old compilers.

parent b6b46d8e
......@@ -430,7 +430,7 @@ struct OwnedBundle<First, Rest...>: public OwnedBundle<Rest...> {
};
template <typename... T>
struct DisposableOwnedBundle: public Disposer, public OwnedBundle<T...> {
struct DisposableOwnedBundle final: public Disposer, public OwnedBundle<T...> {
DisposableOwnedBundle(T&&... values): OwnedBundle<T...>(kj::fwd<T>(values)...) {}
void disposeImpl(void* pointer) const override { delete this; }
};
......
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