Codechange: use default dtor instead of empty (#10826)

This commit is contained in:
Patric Stout
2023-05-14 23:31:03 +02:00
committed by GitHub
parent 7634553d22
commit 199e41c762
35 changed files with 40 additions and 62 deletions

View File

@@ -424,7 +424,7 @@ struct ChunkHandler {
ChunkHandler(uint32 id, ChunkType type) : id(id), type(type) {}
virtual ~ChunkHandler() {}
virtual ~ChunkHandler() = default;
/**
* Save the chunk.
@@ -480,7 +480,7 @@ class SaveLoadHandler {
public:
std::optional<std::vector<SaveLoad>> load_description;
virtual ~SaveLoadHandler() {}
virtual ~SaveLoadHandler() = default;
/**
* Save the object to disk.