diff options
author | Max Kellermann <max@musicpd.org> | 2017-06-03 21:33:44 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-06-04 12:46:48 +0200 |
commit | a057b4f6d88f7bfc1d9846e14de5617a4c281c0d (patch) | |
tree | 88c49e29042c500104827ac3d6e64bd447e1b4bf /src/DetachedSong.hxx | |
parent | 62b03cfddf74c25d0b8187ce5e56d31ef49667b7 (diff) |
*: add lost of "noexcept" specifications
Diffstat (limited to 'src/DetachedSong.hxx')
-rw-r--r-- | src/DetachedSong.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx index 9d1f1edd9..49558d9e5 100644 --- a/src/DetachedSong.hxx +++ b/src/DetachedSong.hxx @@ -152,7 +152,7 @@ public: bool IsRemote() const noexcept; gcc_pure - bool IsFile() const { + bool IsFile() const noexcept { return !IsRemote(); } @@ -162,11 +162,11 @@ public: gcc_pure bool IsInDatabase() const noexcept; - const Tag &GetTag() const { + const Tag &GetTag() const noexcept { return tag; } - Tag &WritableTag() { + Tag &WritableTag() noexcept { return tag; } |