Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d917a32

Browse files
committedJun 13, 2024·
Stupid compiler bug workarounds
1 parent b83fd76 commit d917a32

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
 

‎source/Primitives/TFrustum.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ namespace Langulus::Math
7575

7676
public:
7777
constexpr TFrustum() noexcept;
78-
template<template<class> class S> requires CT::Semantic<S<TFrustum<T>>>
79-
constexpr TFrustum(S<TFrustum<T>>&&) noexcept;
78+
template<template<class> class S>
79+
constexpr TFrustum(S<TFrustum>&&) noexcept requires CT::Semantic<S<TFrustum>>;
8080
constexpr TFrustum(const MatrixType&) noexcept;
8181

8282
NOD() constexpr bool IsDegenerate() const noexcept;

‎source/Primitives/TFrustum.inl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ namespace Langulus::Math
3535
}
3636

3737
/// Copy/move construction
38-
TEMPLATE() template<template<class> class S>
39-
requires CT::Semantic<S<TFrustum<T>>> LANGULUS(INLINED)
40-
constexpr TFrustum<T>::TFrustum(S<TFrustum<T>>&& s) noexcept
38+
TEMPLATE() template<template<class> class S> LANGULUS(INLINED)
39+
constexpr TFrustum<T>::TFrustum(S<TFrustum>&& s) noexcept requires CT::Semantic<S<TFrustum>>
4140
: mPlanes {s->mPlanes} {}
4241

4342
/// Create a frustum by deconstructing a view*projection matrix

0 commit comments

Comments
 (0)
Please sign in to comment.