Navigation Menu

Skip to content

Commit

Permalink
Merged PR 3571: BUG: In single threaded compilation, the trie API did…
Browse files Browse the repository at this point in the history
… not use the counter structure.

This resulted in a compilation failure when `FIFTYONEDEGREES_NO_THREADING` was defined.
The counter is now used correctly.
  • Loading branch information
ben51degrees committed Feb 5, 2021
1 parent a86153c commit 890c9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trie/51Degrees.c
Expand Up @@ -1778,7 +1778,7 @@ fiftyoneDegreesActiveDataSet* incrementActive(
incremented,
active) == FALSE);
#else
provider->active->inUse++;
provider->active->counter.inUse++;
incremented = *provider->active;
#endif
return incremented.self;
Expand Down

0 comments on commit 890c9fc

Please sign in to comment.