Commit 86a505b4 authored by Max Kellermann's avatar Max Kellermann

lib/xiph/OggSyncState: disallow copying

parent ed6c6296
...@@ -45,6 +45,9 @@ public: ...@@ -45,6 +45,9 @@ public:
ogg_sync_clear(&oy); ogg_sync_clear(&oy);
} }
OggSyncState(const OggSyncState &) = delete;
OggSyncState &operator=(const OggSyncState &) = delete;
void Reset() { void Reset() {
ogg_sync_reset(&oy); ogg_sync_reset(&oy);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment