From 391de1c690927ed430708f659a68581368e1e254 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 23 Apr 2013 00:53:43 -0400 Subject: [PATCH] Remove a stray new operator in rust_task.h --- src/rt/rust_task.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 7aa216042039f..4aa1199cabc3f 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -396,12 +396,6 @@ rust_task : public kernel_owned void allow_yield(); }; -// FIXME (#2697): It would be really nice to be able to get rid of this. -inline void *operator new[](size_t size, rust_task *task, const char *tag) { - return task->malloc(size, tag); -} - - template struct task_owned { inline void *operator new(size_t size, rust_task *task, const char *tag) {