From 71f0ed8b7499011b53f90998ebfbd3250fd80948 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 May 2017 14:44:49 +0200 Subject: *: add "noexcept" to many, many function prototypes This eliminates some overhead, because the compiler doesn't need to consider these functions throwing. --- src/MusicPipe.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MusicPipe.hxx') diff --git a/src/MusicPipe.hxx b/src/MusicPipe.hxx index 65890580c..e9bebed6e 100644 --- a/src/MusicPipe.hxx +++ b/src/MusicPipe.hxx @@ -86,7 +86,7 @@ public: * Checks if the specified chunk is enqueued in the music pipe. */ gcc_pure - bool Contains(const MusicChunk *chunk) const; + bool Contains(const MusicChunk *chunk) const noexcept; #endif /** -- cgit v1.2.3