diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-07-17 15:34:28 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-07-17 15:34:28 +0300 |
commit | c74e6513d9358796f98a4d2137c8b665f167e2df (patch) | |
tree | d31f319c565222843defca27ec82249241356882 /src/libslic3r/MTUtils.hpp | |
parent | 2728f411238049668938e5529e36fc03c81eb203 (diff) |
Fix for msvc build.
Diffstat (limited to 'src/libslic3r/MTUtils.hpp')
-rw-r--r-- | src/libslic3r/MTUtils.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libslic3r/MTUtils.hpp b/src/libslic3r/MTUtils.hpp index 01f0095bf..24542558c 100644 --- a/src/libslic3r/MTUtils.hpp +++ b/src/libslic3r/MTUtils.hpp @@ -281,9 +281,8 @@ using EigenVec = Eigen::Matrix<T, N, 1, Eigen::DontAlign>; // Conversion definition from unscaled to floating point scaled template<class Tout, class Tin, - class = FloatingOnly<Tin>, - class = FloatingOnly<Tout>> -inline SLIC3R_CONSTEXPR Tout scaled(const Tin &v) SLIC3R_NOEXCEPT + class = FloatingOnly<Tin>> +inline SLIC3R_CONSTEXPR FloatingOnly<Tout> scaled(const Tin &v) SLIC3R_NOEXCEPT { return Tout(v / Tin(SCALING_FACTOR)); } |