Index: src/IceTranslator.h |
diff --git a/src/IceTranslator.h b/src/IceTranslator.h |
index 1f7b358ffe287ce2f8bb0008f67f9bbbf24b2212..05601b260d1d247fbcd42d855ada258d1f443503 100644 |
--- a/src/IceTranslator.h |
+++ b/src/IceTranslator.h |
@@ -74,6 +74,20 @@ protected: |
ErrorCode ErrorStatus; |
}; |
+class CfgOptWorkItem final : public OptWorkItem { |
+ CfgOptWorkItem() = delete; |
+ CfgOptWorkItem(const CfgOptWorkItem &) = delete; |
+ CfgOptWorkItem &operator=(const CfgOptWorkItem &) = delete; |
+ |
+public: |
+ CfgOptWorkItem(std::unique_ptr<Cfg> Func) : Func(std::move(Func)) {} |
+ std::unique_ptr<Cfg> getParsedCfg() override { return std::move(Func); } |
+ ~CfgOptWorkItem() override = default; |
+ |
+private: |
+ std::unique_ptr<Ice::Cfg> Func; |
+}; |
+ |
} // end of namespace Ice |
#endif // SUBZERO_SRC_ICETRANSLATOR_H |