Skip to content

Commit 142704e

Browse files
committed
add destructor
1 parent 582cda1 commit 142704e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/layers/Layer.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ enum LayerType {
2525
class Layer {
2626
public:
2727
Layer() = default;
28+
virtual ~Layer() = default;
2829
int getID() const { return id_; }
2930
void setID(int id) { id_ = id; }
3031
LayerType getName() const { return type_; }

0 commit comments

Comments
 (0)