summaryrefslogtreecommitdiff
path: root/hwpfilter/source/drawdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/drawdef.h')
-rw-r--r--hwpfilter/source/drawdef.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hwpfilter/source/drawdef.h b/hwpfilter/source/drawdef.h
index f502d1a333fd..00296d8d1704 100644
--- a/hwpfilter/source/drawdef.h
+++ b/hwpfilter/source/drawdef.h
@@ -21,6 +21,7 @@
#define INCLUDED_HWPFILTER_SOURCE_DRAWDEF_H
#include "hwplib.h"
+#include <memory>
class HWPPara;
@@ -228,11 +229,11 @@ struct HWPDrawingObject
HWPDOArc arc;
}
u;
- struct HWPDrawingObject *next;
+ std::unique_ptr<struct HWPDrawingObject> next;
/**
* This exists for container object
*/
- struct HWPDrawingObject *child;
+ std::unique_ptr<struct HWPDrawingObject> child;
int index;
HWPDrawingObject();
~HWPDrawingObject();