From 05d47bb09aa4541a68c032d3b1a4444b9a2846bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Jan 2015 19:30:22 +0100 Subject: [PATCH] output/null: convert struct to class --- src/output/plugins/NullOutputPlugin.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/output/plugins/NullOutputPlugin.cxx b/src/output/plugins/NullOutputPlugin.cxx index a7079d98a..e3b462da2 100644 --- a/src/output/plugins/NullOutputPlugin.cxx +++ b/src/output/plugins/NullOutputPlugin.cxx @@ -23,13 +23,16 @@ #include "../Wrapper.hxx" #include "../Timer.hxx" -struct NullOutput { +class NullOutput { + friend struct AudioOutputWrapper; + AudioOutput base; bool sync; Timer *timer; +public: NullOutput() :base(null_output_plugin) {}