aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/MixerInternal.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer/MixerInternal.hxx')
-rw-r--r--src/mixer/MixerInternal.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mixer/MixerInternal.hxx b/src/mixer/MixerInternal.hxx
index 108293740..1524af7f2 100644
--- a/src/mixer/MixerInternal.hxx
+++ b/src/mixer/MixerInternal.hxx
@@ -26,7 +26,7 @@
class Mixer {
public:
- const MixerPlugin *plugin;
+ const MixerPlugin &plugin;
/**
* This mutex protects all of the mixer struct, including its
@@ -47,12 +47,12 @@ public:
public:
Mixer(const MixerPlugin &_plugin)
- :plugin(&_plugin),
+ :plugin(_plugin),
open(false),
failed(false) {}
bool IsPlugin(const MixerPlugin &other) const {
- return plugin == &other;
+ return &plugin == &other;
}
};