diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/plugins/NullOutputPlugin.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/output/plugins/NullOutputPlugin.cxx b/src/output/plugins/NullOutputPlugin.cxx index 7babce042..3c13e700d 100644 --- a/src/output/plugins/NullOutputPlugin.cxx +++ b/src/output/plugins/NullOutputPlugin.cxx @@ -29,9 +29,11 @@ struct NullOutput { Timer *timer; + NullOutput() + :base(null_output_plugin) {} + bool Initialize(const config_param ¶m, Error &error) { - return ao_base_init(&base, &null_output_plugin, param, - error); + return ao_base_init(&base, param, error); } }; |