Disallow Copy and Assign WebVtt File Buffer
We should never need to copy or assign the webvtt file buffer so this change enforces that. Change-Id: I119865e96c0188781adbe115beb2486b1b56542a
This commit is contained in:
parent
d56efd147a
commit
b01de0bfb6
|
@ -32,7 +32,9 @@ class WebVttFileBuffer {
|
||||||
size_t sample_count() const { return sample_count_; }
|
size_t sample_count() const { return sample_count_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// TODO(vaage): Add missing deleted copy and assign constructors.
|
WebVttFileBuffer(const WebVttFileBuffer&) = delete;
|
||||||
|
WebVttFileBuffer& operator=(const WebVttFileBuffer&) = delete;
|
||||||
|
|
||||||
std::string buffer_;
|
std::string buffer_;
|
||||||
size_t sample_count_ = 0;
|
size_t sample_count_ = 0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue