From 02ddc20c87142502f940d52a15cb10f416c5357b Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 23 Jan 2017 10:58:38 -0800 Subject: [PATCH] Correct signatures of main_thread_request_t's deleted functions --- src/iothread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iothread.cpp b/src/iothread.cpp index a023f4a35..d3cff9a70 100644 --- a/src/iothread.cpp +++ b/src/iothread.cpp @@ -56,9 +56,9 @@ struct main_thread_request_t { // No moving OR copying // main_thread_requests are always stack allocated, and we deal in pointers to them - void operator=(const spawn_request_t &) = delete; - main_thread_request_t(const spawn_request_t &) = delete; - main_thread_request_t(spawn_request_t &&) = delete; + void operator=(const main_thread_request_t &) = delete; + main_thread_request_t(const main_thread_request_t &) = delete; + main_thread_request_t(main_thread_request_t &&) = delete; }; // Spawn support. Requests are allocated and come in on request_queue. They go out on result_queue,