summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-06-04 13:09:11 +0200
committerMax Kellermann <max@musicpd.org>2017-06-04 13:09:11 +0200
commitae713cb099284975f81d554fd030efe44b32c62f (patch)
tree7b3261ff1e3549fdf4471a0f967f905fef9f7211 /src/client
parent979f1b6c39b64770f42ed125c0abf80f4938fdb5 (diff)
*: add lots of "noexcept" specifications
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Response.cxx2
-rw-r--r--src/client/Response.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Response.cxx b/src/client/Response.cxx
index b21ac91b5..25f95c215 100644
--- a/src/client/Response.cxx
+++ b/src/client/Response.cxx
@@ -24,7 +24,7 @@
#include "util/AllocatedString.hxx"
TagMask
-Response::GetTagMask() const
+Response::GetTagMask() const noexcept
{
return GetClient().tag_mask;
}
diff --git a/src/client/Response.hxx b/src/client/Response.hxx
index a133e96a3..ffe4720f4 100644
--- a/src/client/Response.hxx
+++ b/src/client/Response.hxx
@@ -66,7 +66,7 @@ public:
* to avoid including Client.hxx.
*/
gcc_pure
- TagMask GetTagMask() const;
+ TagMask GetTagMask() const noexcept;
void SetCommand(const char *_command) {
command = _command;