command/sticker, sticker/song: embed struct sticker_song_find_data in namespace
Fixes `-Werror=odr`
This commit is contained in:
@@ -31,10 +31,12 @@
|
||||
#include "util/StringAPI.hxx"
|
||||
#include "util/ScopeExit.hxx"
|
||||
|
||||
namespace {
|
||||
struct sticker_song_find_data {
|
||||
Response &r;
|
||||
const char *name;
|
||||
};
|
||||
}
|
||||
|
||||
static void
|
||||
sticker_song_find_print_cb(const LightSong &song, const char *value,
|
||||
|
Reference in New Issue
Block a user