Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9b13d862
Commit
9b13d862
authored
Jan 21, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/Registry: add "noexcept"
parent
590edc64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
PlaylistRegistry.cxx
src/playlist/PlaylistRegistry.cxx
+2
-2
PlaylistRegistry.hxx
src/playlist/PlaylistRegistry.hxx
+4
-2
No files found.
src/playlist/PlaylistRegistry.cxx
View file @
9b13d862
...
...
@@ -96,7 +96,7 @@ playlist_list_global_init(void)
}
void
playlist_list_global_finish
(
void
)
playlist_list_global_finish
(
)
noexcept
{
playlist_plugins_for_each_enabled
(
plugin
)
playlist_plugin_finish
(
plugin
);
...
...
@@ -272,7 +272,7 @@ playlist_list_open_stream(InputStreamPtr &&is, const char *uri)
}
bool
playlist_suffix_supported
(
const
char
*
suffix
)
playlist_suffix_supported
(
const
char
*
suffix
)
noexcept
{
assert
(
suffix
!=
nullptr
);
...
...
src/playlist/PlaylistRegistry.hxx
View file @
9b13d862
...
...
@@ -21,6 +21,7 @@
#define MPD_PLAYLIST_REGISTRY_HXX
#include "input/Ptr.hxx"
#include "Compiler.h"
class
Mutex
;
class
Cond
;
...
...
@@ -44,7 +45,7 @@ playlist_list_global_init();
* Deinitializes all playlist plugins.
*/
void
playlist_list_global_finish
();
playlist_list_global_finish
()
noexcept
;
/**
* Opens a playlist by its URI.
...
...
@@ -69,7 +70,8 @@ playlist_list_open_stream(InputStreamPtr &&is, const char *uri);
* Determines if there is a playlist plugin which can handle the
* specified file name suffix.
*/
gcc_pure
bool
playlist_suffix_supported
(
const
char
*
suffix
);
playlist_suffix_supported
(
const
char
*
suffix
)
noexcept
;
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment