aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistPlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlaylistPlugin.hxx')
-rw-r--r--src/PlaylistPlugin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistPlugin.hxx b/src/PlaylistPlugin.hxx
index ea39f6258..069b818ba 100644
--- a/src/PlaylistPlugin.hxx
+++ b/src/PlaylistPlugin.hxx
@@ -55,7 +55,7 @@ struct playlist_plugin {
* @return true if the plugin was initialized successfully,
* false if the plugin is not available
*/
- bool (*init)(const struct config_param *param);
+ bool (*init)(const config_param &param);
/**
* Deinitialize a plugin which was initialized successfully.
@@ -96,7 +96,7 @@ struct playlist_plugin {
*/
static inline bool
playlist_plugin_init(const struct playlist_plugin *plugin,
- const struct config_param *param)
+ const config_param &param)
{
return plugin->init != NULL
? plugin->init(param)