Skip to content

Commit 8da80bd

Browse files
committed
Target: Add virtual destructor
1 parent 1cf022c commit 8da80bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/scratchcpp/target.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class LIBSCRATCHCPP_EXPORT Target
2424
public:
2525
Target();
2626
Target(const Target &) = delete;
27+
virtual ~Target() { }
2728

2829
/*! Returns true if this Target is the stage. */
2930
virtual bool isStage() const { return false; }

0 commit comments

Comments
 (0)