From 664a1674abdb346d0c101028a6679bc54211d40c Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Fri, 13 Sep 2019 14:26:18 +0200 Subject: [PATCH] Fixed a bug in the new internal setFlag function --- src/ads_globals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ads_globals.h b/src/ads_globals.h index 6561b39..9d591c0 100644 --- a/src/ads_globals.h +++ b/src/ads_globals.h @@ -174,11 +174,11 @@ void setFlag(T& Flags, typename T::enum_type flag, bool on = true) #else if(on) { - d->Features |= flag; + Flags |= flag; } else { - d->Features &= ~flag; + Flags &= ~flag; } #endif }