lib/pulse: add "noexcept"

This commit is contained in:
Max Kellermann
2017-11-12 18:25:16 +01:00
parent a92e0e8540
commit ff9759c09d
5 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@
#include <pulse/error.h>
void
LogPulseError(pa_context *context, const char *prefix)
LogPulseError(pa_context *context, const char *prefix) noexcept
{
const int e = pa_context_errno(context);
FormatError(pulse_domain, "%s: %s", prefix, pa_strerror(e));