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

@@ -28,12 +28,12 @@ class LockGuard {
struct pa_threaded_mainloop *const mainloop;
public:
explicit LockGuard(struct pa_threaded_mainloop *_mainloop)
explicit LockGuard(struct pa_threaded_mainloop *_mainloop) noexcept
:mainloop(_mainloop) {
pa_threaded_mainloop_lock(mainloop);
}
~LockGuard() {
~LockGuard() noexcept {
pa_threaded_mainloop_unlock(mainloop);
}