diff --git a/src/FixedPoints/SFixed.h b/src/FixedPoints/SFixed.h index 9576cbe..b29266e 100644 --- a/src/FixedPoints/SFixed.h +++ b/src/FixedPoints/SFixed.h @@ -64,7 +64,6 @@ public: using Base::Base; constexpr SFixed(void); - constexpr SFixed(const IntegerType & integer); constexpr SFixed(const IntegerType & integer, const FractionType & fraction); constexpr InternalType getInternal(void) const; diff --git a/src/FixedPoints/SFixedMemberFunctions.h b/src/FixedPoints/SFixedMemberFunctions.h index 82848f4..73b51d6 100644 --- a/src/FixedPoints/SFixedMemberFunctions.h +++ b/src/FixedPoints/SFixedMemberFunctions.h @@ -24,12 +24,6 @@ constexpr SFixed::SFixed(void) { } -template< unsigned Integer, unsigned Fraction > -constexpr SFixed::SFixed(const IntegerType & integer) - : Base(RawType(static_cast(integer) << FractionSize)) -{ -} - template< unsigned Integer, unsigned Fraction > constexpr SFixed::SFixed(const IntegerType & integer, const FractionType & fraction) : Base(RawType((static_cast(integer) << FractionSize) | fraction)) diff --git a/src/FixedPoints/UFixed.h b/src/FixedPoints/UFixed.h index 600eee5..b57ad58 100644 --- a/src/FixedPoints/UFixed.h +++ b/src/FixedPoints/UFixed.h @@ -64,7 +64,6 @@ public: using Base::Base; constexpr UFixed(void); - constexpr UFixed(const IntegerType & integer); constexpr UFixed(const IntegerType & integer, const FractionType & fraction); constexpr InternalType getInternal(void) const; diff --git a/src/FixedPoints/UFixedMemberFunctions.h b/src/FixedPoints/UFixedMemberFunctions.h index 0b6faae..e0709ba 100644 --- a/src/FixedPoints/UFixedMemberFunctions.h +++ b/src/FixedPoints/UFixedMemberFunctions.h @@ -24,12 +24,6 @@ constexpr UFixed::UFixed(void) { } -template< unsigned Integer, unsigned Fraction > -constexpr UFixed::UFixed(const IntegerType & integer) - : Base(RawType(static_cast(integer) << FractionSize)) -{ -} - template< unsigned Integer, unsigned Fraction > constexpr UFixed::UFixed(const IntegerType & integer, const FractionType & fraction) : Base(RawType((static_cast(integer) << FractionSize) | fraction))