aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/effects/null.cpp')
-rw-r--r--al/effects/null.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/al/effects/null.cpp b/al/effects/null.cpp
index 5d8e717e..4b68a28f 100644
--- a/al/effects/null.cpp
+++ b/al/effects/null.cpp
@@ -117,9 +117,9 @@ template<>
throw Exception{message};
}
-bool EaxNullCommitter::commit(const EaxEffectProps &props)
+bool EaxNullCommitter::commit(const std::monostate &props)
{
- const bool ret{props != mEaxProps};
+ const bool ret{std::holds_alternative<std::monostate>(mEaxProps)};
mEaxProps = props;
return ret;
}
@@ -129,13 +129,13 @@ void EaxNullCommitter::SetDefaults(EaxEffectProps &props)
props.emplace<std::monostate>();
}
-void EaxNullCommitter::Get(const EaxCall &call, const EaxEffectProps&)
+void EaxNullCommitter::Get(const EaxCall &call, const std::monostate&)
{
if(call.get_property_id() != 0)
fail_unknown_property_id();
}
-void EaxNullCommitter::Set(const EaxCall &call, EaxEffectProps&)
+void EaxNullCommitter::Set(const EaxCall &call, std::monostate&)
{
if(call.get_property_id() != 0)
fail_unknown_property_id();