Skip to content

Commit

Permalink
forbid subclassing SampleBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Dec 15, 2017
1 parent 88929fd commit b7c6bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/samplebuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class SampleBuffer {
that.m_data = nullptr;
that.m_size = 0;
}
~SampleBuffer();
virtual ~SampleBuffer() final;

SampleBuffer& operator=(SampleBuffer& that) = delete;
SampleBuffer& operator=(SampleBuffer&& that) {
Expand Down

0 comments on commit b7c6bbf

Please sign in to comment.