Skip to content

Commit

Permalink
Add missing virtual destructors
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Guzhva <[email protected]>
  • Loading branch information
alexanderguzhva committed Mar 2, 2024
1 parent 9d1ad9c commit 974fb6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/include/milvus-storage/format/reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ class Reader {
virtual void Close() = 0;

virtual Result<std::shared_ptr<arrow::Table>> ReadByOffsets(std::vector<int64_t>& offsets) = 0;

virtual ~Reader() = default;
};
} // namespace milvus_storage
2 changes: 2 additions & 0 deletions cpp/include/milvus-storage/format/writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ class FileWriter {
virtual int64_t count() = 0;

virtual Status Close() = 0;

virtual ~FileWriter() = default;
};
} // namespace milvus_storage

0 comments on commit 974fb6e

Please sign in to comment.