diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 21:51:06 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 21:51:06 +0100 |
commit | 80ed1262bd654fe2de30389f97a985b5f2c1d783 (patch) | |
tree | 020b1b63d637e07882c9a10d81fe2ac04ce82bcc /backend/PtrList.h | |
parent | c45a436fc594101f676cfabe90225d825d935fec (diff) |
add more containers and fix use after free
Diffstat (limited to 'backend/PtrList.h')
-rw-r--r-- | backend/PtrList.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/backend/PtrList.h b/backend/PtrList.h new file mode 100644 index 0000000..5442043 --- /dev/null +++ b/backend/PtrList.h @@ -0,0 +1,14 @@ +#pragma once + +#include "List.h" + +template<typename T> +class PtrList : public List<T *> { +public: + using List<T *>::List; + virtual ~PtrList(); +}; + +#include "PtrList.hpp" + + |