command/sticker, sticker/song: embed struct sticker_song_find_data in namespace

Fixes `-Werror=odr`
This commit is contained in:
Max Kellermann
2018-08-09 12:57:47 +02:00
parent 01d3777574
commit 66fcd25b7e
2 changed files with 4 additions and 0 deletions

View File

@@ -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,