input/Plugin: add noexcept
This commit is contained in:
@@ -56,7 +56,7 @@ struct InputPlugin {
|
||||
* Global deinitialization. Called once before MPD shuts
|
||||
* down (only if init() has returned true).
|
||||
*/
|
||||
void (*finish)();
|
||||
void (*finish)() noexcept;
|
||||
|
||||
/**
|
||||
* Attempt to open the given URI. Returns nullptr if the
|
||||
@@ -69,7 +69,7 @@ struct InputPlugin {
|
||||
/**
|
||||
* return a set of supported protocols
|
||||
*/
|
||||
std::set<std::string> (*protocols)();
|
||||
std::set<std::string> (*protocols)() noexcept;
|
||||
|
||||
/**
|
||||
* Prepare a #RemoteTagScanner. The operation must be started
|
||||
@@ -103,7 +103,8 @@ struct InputPlugin {
|
||||
}
|
||||
};
|
||||
|
||||
gcc_pure
|
||||
bool
|
||||
protocol_is_whitelisted(const char *proto);
|
||||
protocol_is_whitelisted(const char *proto) noexcept;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user