lib/xiph/OggStream: use C++11 initializer
This commit is contained in:
parent
86a505b4f3
commit
9b3470eabd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user