Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index 773faf32d7187f6f5f95f5d0e03baab7642680fa..f01ac856eecb5284f3fcff9eac5f55b0e6351e60 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -28,9 +28,11 @@ |
#include <array> |
#include <functional> |
+#include <memory> |
#include <mutex> |
#include <thread> |
#include <type_traits> |
+#include <utility> |
#include <vector> |
namespace Ice { |
@@ -336,8 +338,8 @@ public: |
void lowerJumpTables(); |
- void emitQueueBlockingPush(EmitterWorkItem *Item); |
- EmitterWorkItem *emitQueueBlockingPop(); |
+ void emitQueueBlockingPush(std::unique_ptr<EmitterWorkItem> Item); |
+ std::unique_ptr<EmitterWorkItem> emitQueueBlockingPop(); |
void emitQueueNotifyEnd() { EmitQ.notifyEnd(); } |
void initParserThread() { |