summaryrefslogtreecommitdiff
path: root/src/MusicPipe.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-05-08 14:44:49 +0200
committerMax Kellermann <max@musicpd.org>2017-05-08 14:44:49 +0200
commit71f0ed8b7499011b53f90998ebfbd3250fd80948 (patch)
treee9c2f66fbef231858f46d878864199d46e6ce21c /src/MusicPipe.hxx
parentac2e4e593d407e41db49fdb9ae2da6bc1557f618 (diff)
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
Diffstat (limited to 'src/MusicPipe.hxx')
-rw-r--r--src/MusicPipe.hxx2
1 files changed, 1 insertions, 1 deletions
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
/**