aboutsummaryrefslogtreecommitdiffstats
path: root/src/EncoderPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 12:24:36 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 14:07:50 +0200
commitca0d09c50fc4246fdae67b8a33799ea580b68593 (patch)
tree0a3fa0f4837c0274d034f8dba52b274f3e519c3a /src/EncoderPlugin.hxx
parent81c3224076da6ad727debc6bab8a5422f7322451 (diff)
downloadmpd-ca0d09c50fc4246fdae67b8a33799ea580b68593.tar.gz
mpd-ca0d09c50fc4246fdae67b8a33799ea580b68593.tar.xz
mpd-ca0d09c50fc4246fdae67b8a33799ea580b68593.zip
EncoderPlugin: pass config_param reference
Diffstat (limited to '')
-rw-r--r--src/EncoderPlugin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/EncoderPlugin.hxx b/src/EncoderPlugin.hxx
index 70bdabe1a..6bb2e1583 100644
--- a/src/EncoderPlugin.hxx
+++ b/src/EncoderPlugin.hxx
@@ -49,7 +49,7 @@ struct Encoder {
struct EncoderPlugin {
const char *name;
- Encoder *(*init)(const struct config_param *param,
+ Encoder *(*init)(const config_param &param,
GError **error);
void (*finish)(Encoder *encoder);
@@ -87,7 +87,7 @@ struct EncoderPlugin {
* @return an encoder object on success, NULL on failure
*/
static inline Encoder *
-encoder_init(const EncoderPlugin &plugin, const config_param *param,
+encoder_init(const EncoderPlugin &plugin, const config_param &param,
GError **error_r)
{
return plugin.init(param, error_r);