diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-26 19:14:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-26 19:14:17 -0400 |
| commit | 1ac2615adbd3bf011af96b016080662e9f3ba8f7 (patch) | |
| tree | 6db9e80757e7af611b3836cbb0454ffd163e5c10 /src/common/swap.h | |
| parent | bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1 (diff) | |
| parent | 6bb02dcb8ab95e67f913867aa388be1b189cfcdb (diff) | |
Merge pull request #11338 from comex/warning-fixes-august-2023
Warnings cleanup for GCC 13 and Clang 16
Diffstat (limited to 'src/common/swap.h')
| -rw-r--r-- | src/common/swap.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/swap.h b/src/common/swap.h index 085baaf9a..fde343e45 100644 --- a/src/common/swap.h +++ b/src/common/swap.h @@ -460,11 +460,6 @@ S operator&(const S& i, const swap_struct_t<T, F> v) { return i & v.swap(); } -template <typename S, typename T, typename F> -S operator&(const swap_struct_t<T, F> v, const S& i) { - return static_cast<S>(v.swap() & i); -} - // Comparison template <typename S, typename T, typename F> bool operator<(const S& p, const swap_struct_t<T, F> v) { |
