Skip to content

Commit af07f99

Browse files
committedMay 14, 2024
Fix deprecated copy
1 parent f4a666c commit af07f99

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
 

‎include/boost/decimal/complex.hpp

-6
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ class complex
3232
constexpr complex() noexcept = default;
3333
constexpr explicit complex(T real) noexcept : real_ {real}, imag_ {T{0}} {}
3434
constexpr complex(T real, T imag) noexcept : real_ {real}, imag_ {imag} {}
35-
constexpr complex& operator=(const complex& rhs)
36-
{
37-
real_ = rhs.real_;
38-
imag_ = rhs.imag_;
39-
return *this;
40-
}
4135

4236
constexpr T real() const noexcept { return real_; }
4337
constexpr T imag() const noexcept { return imag_; }

0 commit comments

Comments
 (0)
Please sign in to comment.