summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorMocUic.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-21 19:11:22 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-02-22 09:10:42 (GMT)
commit2d291667582dc8129ed1c3c4e7d7333f3b8627f4 (patch)
tree02fce3d6c04e23456c8a598ce91e569b29067586 /Source/cmQtAutoGeneratorMocUic.h
parent8182c21d2d40506c3d4b0751e559173d0b47cdb5 (diff)
downloadCMake-2d291667582dc8129ed1c3c4e7d7333f3b8627f4.zip
CMake-2d291667582dc8129ed1c3c4e7d7333f3b8627f4.tar.gz
CMake-2d291667582dc8129ed1c3c4e7d7333f3b8627f4.tar.bz2
Autogen: Use cm::make_unique to allocate jobs
Diffstat (limited to 'Source/cmQtAutoGeneratorMocUic.h')
-rw-r--r--Source/cmQtAutoGeneratorMocUic.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmQtAutoGeneratorMocUic.h b/Source/cmQtAutoGeneratorMocUic.h
index 989d9ab..e48d7f3 100644
--- a/Source/cmQtAutoGeneratorMocUic.h
+++ b/Source/cmQtAutoGeneratorMocUic.h
@@ -187,15 +187,8 @@ public:
virtual void Process(WorkerT& wrk) = 0;
};
- /// @brief Deleter for classes derived from Job
- ///
- struct JobDeleterT
- {
- void operator()(JobT* job);
- };
-
// Job management types
- typedef std::unique_ptr<JobT, JobDeleterT> JobHandleT;
+ typedef std::unique_ptr<JobT> JobHandleT;
typedef std::deque<JobHandleT> JobQueueT;
/// @brief Parse source job