Commit 5c75096b authored by Max Kellermann's avatar Max Kellermann

pcm/Volume: remove assert() from destructor

While this assert() was useful when we had to track the object's state manually, there was no practical purpose other than verifying old code, and it complicates our new C++ code.
parent a43b0f52
......@@ -77,12 +77,6 @@ public:
#endif
}
#ifndef NDEBUG
~PcmVolume() {
assert(format == SampleFormat::UNDEFINED);
}
#endif
unsigned GetVolume() const {
return volume;
}
......
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