lib/xiph/OggStream: use C++11 initializer

This commit is contained in:
Max Kellermann 2016-05-03 23:46:56 +02:00
parent 86a505b4f3
commit 9b3470eabd

View File

@ -34,12 +34,11 @@ class OggStream {
bool flush;
#ifndef NDEBUG
bool initialized;
bool initialized = false;
#endif
public:
#ifndef NDEBUG
OggStream():initialized(false) {}
~OggStream() {
assert(!initialized);
}