Commit 92da483e authored by Max Kellermann's avatar Max Kellermann

db/Selection: add `noexcept`

parent 9cc960ac
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment