summaryrefslogtreecommitdiffstats
path: root/src/dot.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-05-02 18:21:35 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-05-02 18:21:35 (GMT)
commit03115ed64d916b94c52275fe0b329bd817d4ce94 (patch)
treea60bbc9a8b6f00e807dcf0b52cb15c3d2b073327 /src/dot.h
parent1708261ebe54b03c45a4bfe3c1e78581779b2a80 (diff)
downloadDoxygen-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dot.h b/src/dot.h
index 3c9af66..d14c38a 100644
--- a/src/dot.h
+++ b/src/dot.h
@@ -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,