Skip to content
Snippets Groups Projects
Commit 5a263505 authored by Dmitriy Morozov's avatar Dmitriy Morozov Committed by Kitware Robot
Browse files

Merge topic 'virtual_destructor_warning'


51dd65fc Provide BinaryBuffer a virtual destructor.

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !13
parents 49d69fdc 51dd65fc
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ namespace diy
//! A serialization buffer. \ingroup Serialization
struct BinaryBuffer
{
virtual ~BinaryBuffer() =default;
virtual void save_binary(const char* x, size_t count) =0; //!< copy `count` bytes from `x` into the buffer
virtual void load_binary(char* x, size_t count) =0; //!< copy `count` bytes into `x` from the buffer
virtual void load_binary_back(char* x, size_t count) =0; //!< copy `count` bytes into `x` from the back of the buffer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment