Skip to content

Commit

Permalink
fix: missing poison pills added
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Nov 26, 2024
1 parent 2f3399e commit c7eb981
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/include/mp-units/framework/representation_concepts.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ MP_UNITS_EXPORT inline constexpr ::mp_units::detail::imag_impl::imag_t imag;
namespace detail::modulus_impl {

void modulus() = delete; // poison pill
void abs() = delete; // poison pill

struct modulus_t {
[[nodiscard]] constexpr Scalar auto operator()(const WeaklyRegular auto& clx) const
Expand Down Expand Up @@ -188,6 +189,7 @@ concept Complex =
namespace magnitude_impl {

void magnitude() = delete; // poison pill
void abs() = delete; // poison pill

struct magnitude_t {
template<WeaklyRegular T>
Expand Down

0 comments on commit c7eb981

Please sign in to comment.