summaryrefslogtreecommitdiff
path: root/src/output/plugins/NullOutputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/plugins/NullOutputPlugin.cxx')
-rw-r--r--src/output/plugins/NullOutputPlugin.cxx6
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 &param, Error &error) {
- return ao_base_init(&base, &null_output_plugin, param,
- error);
+ return ao_base_init(&base, param, error);
}
};