Correct signatures of main_thread_request_t's deleted functions

This commit is contained in:
ridiculousfish 2017-01-23 10:58:38 -08:00
parent 520e567390
commit 02ddc20c87

View file

@ -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,