Plug leak

This commit is contained in:
loki
2020-01-11 01:17:57 +01:00
parent e4135a8302
commit 51826ea384
6 changed files with 41 additions and 18 deletions
+7 -3
View File
@@ -12,9 +12,13 @@ namespace platf {
struct img_t {
public:
std::uint8_t *data;
std::int32_t width;
std::int32_t height;
std::uint8_t *data {};
std::int32_t width {};
std::int32_t height {};
img_t() = default;
img_t(const img_t&) = delete;
img_t(img_t&&) = delete;
virtual ~img_t() = default;
};