Skip to content

Commit

Permalink
Build fixups for Visual Studio 2015 and 2017
Browse files Browse the repository at this point in the history
Signed-off-by: Nigel Stewart <[email protected]>
  • Loading branch information
nigels-com committed Feb 11, 2021
1 parent dc1bef9 commit 14260c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Imath/ImathPlane.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ template <class T> class Plane3
/// @name Constructors

/// Uninitialized by default
IMATH_HOSTDEVICE constexpr Plane3() noexcept {}
IMATH_HOSTDEVICE Plane3() noexcept {}

/// Initialize with a normal and distance
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 Plane3 (const Vec3<T>& normal, T distance) noexcept;
Expand Down
8 changes: 4 additions & 4 deletions src/Imath/ImathVec.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ template <class T> class Vec3
/// @name Constructors and Assignment

/// Uninitialized by default
IMATH_HOSTDEVICE constexpr Vec3() noexcept;
IMATH_HOSTDEVICE Vec3() noexcept;

/// Initialize to a scalar `(a,a,a)`
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 explicit Vec3 (T a) noexcept;
Expand Down Expand Up @@ -503,7 +503,7 @@ template <class T> class Vec4
/// @name Constructors and Assignment

/// Uninitialized by default
IMATH_HOSTDEVICE constexpr Vec4() noexcept; // no initialization
IMATH_HOSTDEVICE Vec4() noexcept; // no initialization

/// Initialize to a scalar `(a,a,a,a)`
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 explicit Vec4 (T a) noexcept; // (a a a a)
Expand Down Expand Up @@ -1207,7 +1207,7 @@ Vec3<T>::operator[] (int i) const noexcept
return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
}

template <class T> constexpr inline Vec3<T>::Vec3() noexcept
template <class T> inline Vec3<T>::Vec3() noexcept
{
// empty
}
Expand Down Expand Up @@ -1680,7 +1680,7 @@ Vec4<T>::operator[] (int i) const noexcept
return (&x)[i]; // NOSONAR - suppress SonarCloud bug report.
}

template <class T> constexpr inline Vec4<T>::Vec4() noexcept
template <class T> inline Vec4<T>::Vec4() noexcept
{
// empty
}
Expand Down

0 comments on commit 14260c4

Please sign in to comment.