gcc-10 enabled

This commit is contained in:
Mateusz Pusz committed 2019-10-17 18:22:51 +02:00
1 parent f147da202e
commit 95028d10a7
6 files changed
+54 -17

No files matched your search

+2 -2
View File
@@ -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>;