lib/xiph/OggSyncState: disallow copying

This commit is contained in:
Max Kellermann 2016-05-03 23:45:32 +02:00
parent ed6c6296eb
commit 86a505b4f3

View File

@ -45,6 +45,9 @@ public:
ogg_sync_clear(&oy);
}
OggSyncState(const OggSyncState &) = delete;
OggSyncState &operator=(const OggSyncState &) = delete;
void Reset() {
ogg_sync_reset(&oy);
}