diff --git a/include/scratchcpp/asset.h b/include/scratchcpp/asset.h index 98826f76..0b2f04c9 100644 --- a/include/scratchcpp/asset.h +++ b/include/scratchcpp/asset.h @@ -18,6 +18,8 @@ class LIBSCRATCHCPP_EXPORT Asset : public Entity Asset(const std::string &name, const std::string &id, const std::string &format); Asset(const Asset &) = delete; + virtual ~Asset() { } + void setId(const std::string &id); const std::string &name() const;