From ecc7f8ab74cdc106f2966597527f20a76118e27f Mon Sep 17 00:00:00 2001 From: peter klausler Date: Tue, 12 Oct 2021 18:10:33 -0700 Subject: [PATCH] [flang] Fix Windows build (take 2) Remove the offending "operator=()" member functions. This should silence the MSVC warnings that persist in uint128.h. --- flang/include/flang/Common/uint128.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/flang/include/flang/Common/uint128.h b/flang/include/flang/Common/uint128.h index adbeeb3..b12e1729 100644 --- a/flang/include/flang/Common/uint128.h +++ b/flang/include/flang/Common/uint128.h @@ -51,16 +51,6 @@ public: : low_{n.low()}, high_{n.high()} {} explicit constexpr Int128(Int128 &&n) : low_{n.low()}, high_{n.high()} {} - constexpr Int128 &operator=(const Int128 &n) { - low_ = n.low(); - high_ = n.high(); - return *this; - } - constexpr Int128 &operator=(Int128 &&n) { - low_ = n.low(); - high_ = n.high(); - return *this; - } constexpr Int128 operator+() const { return *this; } constexpr Int128 operator~() const { return {~high_, ~low_}; } -- 2.7.4