Merge remote-tracking branches 'neheb/j', 'neheb/f', 'neheb/qwe' and 'neheb/hgf'
This commit is contained in:
commit
c977d646c7
@ -78,7 +78,7 @@ constexpr auto USER_CONFIG_FILE_LOCATION1 = Path::FromFS(PATH_LITERAL(".mpdconf"
|
|||||||
constexpr auto USER_CONFIG_FILE_LOCATION2 = Path::FromFS(PATH_LITERAL(".mpd/mpd.conf"));
|
constexpr auto USER_CONFIG_FILE_LOCATION2 = Path::FromFS(PATH_LITERAL(".mpd/mpd.conf"));
|
||||||
constexpr auto USER_CONFIG_FILE_LOCATION_XDG = Path::FromFS(PATH_LITERAL("mpd/mpd.conf"));
|
constexpr auto USER_CONFIG_FILE_LOCATION_XDG = Path::FromFS(PATH_LITERAL("mpd/mpd.conf"));
|
||||||
#endif
|
#endif
|
||||||
}
|
} // namespace
|
||||||
|
|
||||||
enum Option {
|
enum Option {
|
||||||
OPTION_KILL,
|
OPTION_KILL,
|
||||||
|
@ -36,7 +36,7 @@ struct sticker_song_find_data {
|
|||||||
Response &r;
|
Response &r;
|
||||||
const char *name;
|
const char *name;
|
||||||
};
|
};
|
||||||
}
|
} // namespace
|
||||||
|
|
||||||
static void
|
static void
|
||||||
sticker_song_find_print_cb(const LightSong &song, const char *value,
|
sticker_song_find_print_cb(const LightSong &song, const char *value,
|
||||||
|
@ -34,7 +34,7 @@ struct StringLess {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::set<const char *, StringLess> StringSet;
|
using StringSet = std::set<const char *, StringLess>;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
StatsVisitTag(DatabaseStats &stats, StringSet &artists, StringSet &albums,
|
StatsVisitTag(DatabaseStats &stats, StringSet &artists, StringSet &albums,
|
||||||
|
@ -770,7 +770,7 @@ ReceiveEntities(struct mpd_connection *connection) noexcept
|
|||||||
std::list<ProxyEntity> entities;
|
std::list<ProxyEntity> entities;
|
||||||
struct mpd_entity *entity;
|
struct mpd_entity *entity;
|
||||||
while ((entity = mpd_recv_entity(connection)) != nullptr)
|
while ((entity = mpd_recv_entity(connection)) != nullptr)
|
||||||
entities.push_back(ProxyEntity(entity));
|
entities.emplace_back(entity);
|
||||||
|
|
||||||
mpd_response_finish(connection);
|
mpd_response_finish(connection);
|
||||||
return entities;
|
return entities;
|
||||||
|
@ -30,10 +30,8 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
UPnPDirContent::~UPnPDirContent()
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
UPnPDirContent::~UPnPDirContent() = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
static UPnPDirObject::ItemClass
|
static UPnPDirObject::ItemClass
|
||||||
|
@ -19,7 +19,5 @@
|
|||||||
|
|
||||||
#include "Object.hxx"
|
#include "Object.hxx"
|
||||||
|
|
||||||
UPnPDirObject::~UPnPDirObject() noexcept
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
UPnPDirObject::~UPnPDirObject() noexcept = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
@ -387,7 +387,7 @@ OpusEncoder::SendTag(const Tag &tag)
|
|||||||
GenerateHeaders(&tag);
|
GenerateHeaders(&tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace
|
||||||
|
|
||||||
const EncoderPlugin opus_encoder_plugin = {
|
const EncoderPlugin opus_encoder_plugin = {
|
||||||
"opus",
|
"opus",
|
||||||
|
@ -44,7 +44,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace
|
||||||
|
|
||||||
QobuzClient::QobuzClient(EventLoop &event_loop,
|
QobuzClient::QobuzClient(EventLoop &event_loop,
|
||||||
const char *_base_url,
|
const char *_base_url,
|
||||||
|
@ -56,4 +56,4 @@ Glue::OnDBusClosed() noexcept
|
|||||||
// TODO: reconnect
|
// TODO: reconnect
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace ODBus
|
||||||
|
@ -44,10 +44,8 @@ ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ContentDirectoryService::~ContentDirectoryService() noexcept
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
ContentDirectoryService::~ContentDirectoryService() noexcept = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
std::forward_list<std::string>
|
std::forward_list<std::string>
|
||||||
ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
|
ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
|
||||||
|
@ -23,10 +23,8 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
UPnPDevice::~UPnPDevice() noexcept
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
UPnPDevice::~UPnPDevice() noexcept = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An XML parser which constructs an UPnP device object from the
|
* An XML parser which constructs an UPnP device object from the
|
||||||
|
@ -38,4 +38,4 @@ getFirstElementValue(IXML_Document *doc, const char *name) noexcept
|
|||||||
return ixmlNode_getNodeValue(dnode);
|
return ixmlNode_getNodeValue(dnode);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
} // namespace ixmlwrap
|
||||||
|
@ -90,10 +90,8 @@ SongFilter::SongFilter(TagType tag, const char *value, bool fold_case)
|
|||||||
StringFilter(value, fold_case, fold_case, false)));
|
StringFilter(value, fold_case, fold_case, false)));
|
||||||
}
|
}
|
||||||
|
|
||||||
SongFilter::~SongFilter()
|
/* this destructor exists here just so it won't get inlined */
|
||||||
{
|
SongFilter::~SongFilter() = default;
|
||||||
/* this destructor exists here just so it won't get inlined */
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string
|
std::string
|
||||||
SongFilter::ToExpression() const noexcept
|
SongFilter::ToExpression() const noexcept
|
||||||
|
@ -82,7 +82,7 @@ struct sticker_song_find_data {
|
|||||||
void *user_data);
|
void *user_data);
|
||||||
void *user_data;
|
void *user_data;
|
||||||
};
|
};
|
||||||
}
|
} // namespace
|
||||||
|
|
||||||
static void
|
static void
|
||||||
sticker_song_find_cb(const char *uri, const char *value, void *user_data)
|
sticker_song_find_cb(const char *uri, const char *value, void *user_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user