diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-05-02 18:21:35 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-05-02 18:21:35 (GMT) |
commit | 03115ed64d916b94c52275fe0b329bd817d4ce94 (patch) | |
tree | a60bbc9a8b6f00e807dcf0b52cb15c3d2b073327 /src/dot.h | |
parent | 1708261ebe54b03c45a4bfe3c1e78581779b2a80 (diff) | |
download | Doxygen-03115ed64d916b94c52275fe0b329bd817d4ce94.zip Doxygen-03115ed64d916b94c52275fe0b329bd817d4ce94.tar.gz Doxygen-03115ed64d916b94c52275fe0b329bd817d4ce94.tar.bz2 |
Refactoring: size_t type conversions and QList in DotManager
Diffstat (limited to 'src/dot.h')
-rw-r--r-- | src/dot.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,6 @@ #ifndef DOT_H #define DOT_H -#include <qlist.h> #include <qcstring.h> #include <map> @@ -35,6 +34,7 @@ class DotManager { public: static DotManager *instance(); + static void deleteInstance(); DotRunner* createRunner(const std::string& absDotName, const std::string& md5Hash); DotFilePatcher *createFilePatcher(const std::string &fileName); bool run() const; @@ -47,7 +47,7 @@ class DotManager std::map<std::string, DotFilePatcher> m_filePatchers; static DotManager *m_theInstance; DotRunnerQueue *m_queue; - QList<DotWorkerThread> m_workers; + std::vector< std::unique_ptr<DotWorkerThread> > m_workers; }; void writeDotGraphFromFile(const char *inFile,const char *outDir, |