mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-17 16:38:56 +00:00
Update dependencies/vendor (#1659)
This commit is contained in:
10
vendor/go.uber.org/atomic/string.go
generated
vendored
10
vendor/go.uber.org/atomic/string.go
generated
vendored
@ -32,10 +32,10 @@ type String struct {
|
||||
var _zeroString string
|
||||
|
||||
// NewString creates a new String.
|
||||
func NewString(v string) *String {
|
||||
func NewString(val string) *String {
|
||||
x := &String{}
|
||||
if v != _zeroString {
|
||||
x.Store(v)
|
||||
if val != _zeroString {
|
||||
x.Store(val)
|
||||
}
|
||||
return x
|
||||
}
|
||||
@ -49,6 +49,6 @@ func (x *String) Load() string {
|
||||
}
|
||||
|
||||
// Store atomically stores the passed string.
|
||||
func (x *String) Store(v string) {
|
||||
x.v.Store(v)
|
||||
func (x *String) Store(val string) {
|
||||
x.v.Store(val)
|
||||
}
|
||||
|
Reference in New Issue
Block a user