Remove a stray new operator in rust_task.h

This commit is contained in:
Alex Crichton 2013-04-23 00:53:43 -04:00
parent 05f9586d06
commit 391de1c690

View File

@ -396,12 +396,6 @@ public:
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 <typename T> struct task_owned {
inline void *operator new(size_t size, rust_task *task,
const char *tag) {