Mercurial > hg > Members > Moririn
diff src/parallel_execution/SingleLinkedQueue.cbc @ 280:2c2e4e597eb0
generate no compile errors
author | mir3636 |
---|---|
date | Fri, 03 Feb 2017 17:47:27 +0900 |
parents | 68cf983475e7 |
children | 394e38952c80 |
line wrap: on
line diff
--- a/src/parallel_execution/SingleLinkedQueue.cbc Fri Feb 03 03:25:57 2017 +0900 +++ b/src/parallel_execution/SingleLinkedQueue.cbc Fri Feb 03 17:47:27 2017 +0900 @@ -1,9 +1,8 @@ #include "../context.h" -#include "../origin_cs.h" #include <stdio.h> Queue* createSingleLinkedQueue(struct Context* context) { - struct Queue* queue = new Stack(); + struct Queue* queue = new Queue(); struct SingleLinkedQueue* singleLinkedQueue = new SingleLinkedQueue(); queue->queue = (union Data*)singleLinkedQueue; singleLinkedQueue->top = NULL;