Skip to content

Commit

Permalink
Fix deprecated copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed May 14, 2024
1 parent f4a666c commit af07f99
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/boost/decimal/complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ class complex
constexpr complex() noexcept = default;
constexpr explicit complex(T real) noexcept : real_ {real}, imag_ {T{0}} {}
constexpr complex(T real, T imag) noexcept : real_ {real}, imag_ {imag} {}
constexpr complex& operator=(const complex& rhs)
{
real_ = rhs.real_;
imag_ = rhs.imag_;
return *this;
}

constexpr T real() const noexcept { return real_; }
constexpr T imag() const noexcept { return imag_; }
Expand Down

0 comments on commit af07f99

Please sign in to comment.