-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix -= operator implementation in SuspendableThrottlerCount
The `-=` operator overload (D1 `opSubAssign`) was inexplicably aliased to the `add` method rather than the correct `remove`. This probably means that no one was ever actually using the operator overload, but it seems a good idea to fix it in any case.
- Loading branch information
1 parent
7bc9aa0
commit 19bd05b
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Fix `-=` operator implementation in SuspendableThrottlerCount | ||
|
||
`ocean.io.model.SuspendableThrottlerCount` | ||
|
||
The `-=` operator overload (D1 `opSubAssign`) was inexplicably aliased | ||
to the `add` method rather than the correct `remove`. This probably | ||
means that no one was ever actually using the operator overload, but it | ||
seems a good idea to fix it in any case. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters