db/Selection: move bool
attribute to the end
May allow a better memory layout.
This commit is contained in:
parent
92da483ecd
commit
9894967fcb
@ -23,7 +23,7 @@
|
||||
|
||||
DatabaseSelection::DatabaseSelection(const char *_uri, bool _recursive,
|
||||
const SongFilter *_filter) noexcept
|
||||
:uri(_uri), recursive(_recursive), filter(_filter)
|
||||
:uri(_uri), filter(_filter), recursive(_recursive)
|
||||
{
|
||||
/* optimization: if the caller didn't specify a base URI, pick
|
||||
the one from SongFilter */
|
||||
|
@ -34,13 +34,13 @@ struct DatabaseSelection {
|
||||
*/
|
||||
std::string uri;
|
||||
|
||||
const SongFilter *filter;
|
||||
|
||||
/**
|
||||
* Recursively search all sub directories?
|
||||
*/
|
||||
bool recursive;
|
||||
|
||||
const SongFilter *filter;
|
||||
|
||||
DatabaseSelection(const char *_uri, bool _recursive,
|
||||
const SongFilter *_filter=nullptr) noexcept;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user