Skip to content

Commit 664a167

Browse files
Fixed a bug in the new internal setFlag function
1 parent 0c5ef5e commit 664a167

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ads_globals.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ void setFlag(T& Flags, typename T::enum_type flag, bool on = true)
174174
#else
175175
if(on)
176176
{
177-
d->Features |= flag;
177+
Flags |= flag;
178178
}
179179
else
180180
{
181-
d->Features &= ~flag;
181+
Flags &= ~flag;
182182
}
183183
#endif
184184
}

0 commit comments

Comments
 (0)