gcc-10 enabled
This commit is contained in:
1 parent
f147da202e
commit
95028d10a7
6 files changed
+54
-17
No files matched your search
@@ -28,7 +28,7 @@
|
||||
namespace units {
|
||||
|
||||
template<std::size_t N, typename U, typename Rep>
|
||||
inline Quantity pow(const quantity<U, Rep>& q) noexcept
|
||||
inline Quantity AUTO pow(const quantity<U, Rep>& q) noexcept
|
||||
{
|
||||
using dim = dimension_pow<typename U::dimension, N>;
|
||||
using r = ratio_pow<typename U::ratio, N>;
|
||||
@@ -36,7 +36,7 @@ namespace units {
|
||||
}
|
||||
|
||||
template<typename U, typename Rep>
|
||||
inline Quantity sqrt(const quantity<U, Rep>& q) noexcept
|
||||
inline Quantity AUTO sqrt(const quantity<U, Rep>& q) noexcept
|
||||
{
|
||||
using dim = dimension_sqrt<typename U::dimension>;
|
||||
using r = ratio_sqrt<typename U::ratio>;
|
||||
|
||||
Reference in new issue
Block a user