From 8ef8e3cdd322994a262a937b4b52a3fb6e6774dd Mon Sep 17 00:00:00 2001 From: David Hebbeker Date: Sat, 2 May 2020 18:24:21 +0200 Subject: Replace QList with std::deque in DirList. https://stackoverflow.com/a/4110482/5534993 https://www.copperspice.com/docs/cs_api_1.5/containers-c.html --- src/dirdef.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/dirdef.h b/src/dirdef.h index 692cd90..deba35d 100644 --- a/src/dirdef.h +++ b/src/dirdef.h @@ -21,7 +21,9 @@ #include "sortdict.h" #include "definition.h" -#include +#include +#include +#include class FileList; class ClassSDict; @@ -34,11 +36,7 @@ class FTextStream; class DirDef; /** A list of directories. */ -class DirList : public QList -{ - public: - int compareValues(const DirDef *item1,const DirDef *item2) const; -}; +typedef std::deque DirList; /** A model of a directory symbol. */ class DirDef : virtual public Definition -- cgit v0.12