db/Selection: add `noexcept`
This commit is contained in:
parent
9cc960ac5e
commit
92da483ecd
|
@ -22,7 +22,7 @@
|
|||
#include "song/Filter.hxx"
|
||||
|
||||
DatabaseSelection::DatabaseSelection(const char *_uri, bool _recursive,
|
||||
const SongFilter *_filter)
|
||||
const SongFilter *_filter) noexcept
|
||||
:uri(_uri), recursive(_recursive), filter(_filter)
|
||||
{
|
||||
/* optimization: if the caller didn't specify a base URI, pick
|
||||
|
|
|
@ -42,7 +42,7 @@ struct DatabaseSelection {
|
|||
const SongFilter *filter;
|
||||
|
||||
DatabaseSelection(const char *_uri, bool _recursive,
|
||||
const SongFilter *_filter=nullptr);
|
||||
const SongFilter *_filter=nullptr) noexcept;
|
||||
|
||||
gcc_pure
|
||||
bool IsEmpty() const noexcept;
|
||||
|
|
Loading…
Reference in New Issue