diff options
author | Robert Adam <dev@robert-adam.de> | 2022-04-10 10:37:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-10 10:37:47 +0300 |
commit | 0c2e398f392f3d6ac392e7472a0e5ff0cbe80790 (patch) | |
tree | 85fff14685d59737be8b4c6833b7b8875022de80 | |
parent | 76aab90a9b40ace6f5e151edf62ce0f5690885c8 (diff) | |
parent | 06d43af6f4985f66a007c2b02d7719fda002cc2d (diff) |
Merge PR #5604: BUILD(client,server): Fix warning for always true assert
-rw-r--r-- | src/MumbleProtocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MumbleProtocol.cpp b/src/MumbleProtocol.cpp index 34aa88e72..1710f7f05 100644 --- a/src/MumbleProtocol.cpp +++ b/src/MumbleProtocol.cpp @@ -335,7 +335,7 @@ namespace Protocol { m_audioMessage.Clear(); static_assert(AudioContext::BEGIN == 0, "AudioContext::BEGIN is not zero (breaks assumption)"); - static_assert(AudioContext::END >= 0, "AudioContext::END is negative (breaks assumption)"); + static_assert(AudioContext::END > 0, "AudioContext::END is not positive (breaks assumption)"); m_preEncodedContext.resize(AudioContext::END); // Pre-encode the expected voice audio contexts. |