Commit 9b3470ea authored by Max Kellermann's avatar Max Kellermann

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

parent 86a505b4
......@@ -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);
}
......
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