diff options
author | 2022-04-24 12:26:22 +0200 | |
---|---|---|
committer | 2022-04-24 12:26:22 +0200 | |
commit | 88979b35d462516e1765524d70a41c0d26eec911 (patch) | |
tree | fd37cb19317217e226ee7717824f24031f53b031 /vendor/github.com/uptrace/bun/internal/flag.go | |
parent | Revert "[chore] Tidy up federating db locks a tiny bit (#472)" (#479) (diff) | |
download | gotosocial-88979b35d462516e1765524d70a41c0d26eec911.tar.xz |
[chore] Update bun and sqlite dependencies (#478)
* update bun + sqlite versions
* step bun to v1.1.3
Diffstat (limited to 'vendor/github.com/uptrace/bun/internal/flag.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/internal/flag.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/internal/flag.go b/vendor/github.com/uptrace/bun/internal/flag.go index b42f59df7..22d2db291 100644 --- a/vendor/github.com/uptrace/bun/internal/flag.go +++ b/vendor/github.com/uptrace/bun/internal/flag.go @@ -3,7 +3,7 @@ package internal type Flag uint64 func (flag Flag) Has(other Flag) bool { - return flag&other == other + return flag&other != 0 } func (flag Flag) Set(other Flag) Flag { |