mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-17 14:18:54 +00:00
Update dependencies/vendor (#1659)
This commit is contained in:
2
vendor/go.uber.org/atomic/bool_ext.go
generated
vendored
2
vendor/go.uber.org/atomic/bool_ext.go
generated
vendored
@ -38,7 +38,7 @@ func boolToInt(b bool) uint32 {
|
||||
}
|
||||
|
||||
// Toggle atomically negates the Boolean and returns the previous value.
|
||||
func (b *Bool) Toggle() bool {
|
||||
func (b *Bool) Toggle() (old bool) {
|
||||
for {
|
||||
old := b.Load()
|
||||
if b.CAS(old, !old) {
|
||||
|
Reference in New Issue
Block a user