From 1992ce920eb5268be9487b3bba6d28353d871111 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Mon, 15 May 2023 16:09:09 +0200 Subject: Manage CharacterData using std::unique_ptr Fixes many memory leaks, but also made it clear that we're very often loading all the character data only to immediately throw it away again, even when most of the time all we really need is the database ID or the name. --- src/common/transaction.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/transaction.h') diff --git a/src/common/transaction.h b/src/common/transaction.h index 12a1d61a..518c9844 100644 --- a/src/common/transaction.h +++ b/src/common/transaction.h @@ -21,6 +21,8 @@ #ifndef TRANSACTION_H #define TRANSACTION_H +#include + struct Transaction { unsigned mAction; -- cgit v1.2.3-70-g09d2