From 4ee3820bd61c63ddc55833f58429d4c2246f9bf4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Sep 2016 17:59:42 +0200 Subject: [PATCH] playlist/SoundCloud: make parse_callbacks constexpr --- src/playlist/plugins/SoundCloudPlaylistPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx b/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx index 663cee1ef..d4d332657 100644 --- a/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx +++ b/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx @@ -209,7 +209,7 @@ handle_end_map(void *ctx) return 1; } -static yajl_callbacks parse_callbacks = { +static constexpr yajl_callbacks parse_callbacks = { nullptr, nullptr, handle_integer,