lib/xiph/OggStream: use C++11 initializer
This commit is contained in:
parent
86a505b4f3
commit
9b3470eabd
@ -34,12 +34,11 @@ class OggStream {
|
|||||||
bool flush;
|
bool flush;
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
bool initialized;
|
bool initialized = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
OggStream():initialized(false) {}
|
|
||||||
~OggStream() {
|
~OggStream() {
|
||||||
assert(!initialized);
|
assert(!initialized);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user