From 832d2f696195c15a7ff841f7ab0970e865b1868d Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Mon, 12 Jun 2023 19:13:55 -0700 Subject: [PATCH] Allow default constructing mammoth threads --- lib/mammoth/include/mammoth/thread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mammoth/include/mammoth/thread.h b/lib/mammoth/include/mammoth/thread.h index 5597848..804db35 100644 --- a/lib/mammoth/include/mammoth/thread.h +++ b/lib/mammoth/include/mammoth/thread.h @@ -6,6 +6,7 @@ class Thread { public: typedef void (*Entry)(void*); + Thread() : thread_cap_(0) {} Thread(Entry e, const void* arg1); private: