Commit 941ac1cd authored by Kenton Varda's avatar Kenton Varda

Fix more warnings.

parent 46145207
......@@ -129,8 +129,8 @@ class Array {
// single objects.
public:
inline Array(): ptr(nullptr), size_(0) {}
inline Array(decltype(nullptr)): ptr(nullptr), size_(0) {}
inline Array(): ptr(nullptr), size_(0), disposer(nullptr) {}
inline Array(decltype(nullptr)): ptr(nullptr), size_(0), disposer(nullptr) {}
inline Array(Array&& other) noexcept
: ptr(other.ptr), size_(other.size_), disposer(other.disposer) {
other.ptr = nullptr;
......
......@@ -53,7 +53,7 @@ public:
// the child to die.
int pipeFds[2];
pipe(pipeFds);
KJ_SYSCALL(pipe(pipeFds));
pid_t child = fork();
if (child == 0) {
// This is the child!
......
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