Skip to content

Commit 237d427

Browse files
authored
Merge pull request #58 from 08jne01/develop
Add constexpr to quat,mat and vec
2 parents 98bb6f3 + c303cb5 commit 237d427

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/boost/qvm/mat.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ mat
2121
, class = typename enable_if<is_mat<R> >::type
2222
#endif
2323
>
24-
operator R() const
24+
BOOST_QVM_CONSTEXPR operator R() const
2525
{
2626
R r;
2727
assign(r,*this);

include/boost/qvm/quat.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ quat
2121
, class = typename enable_if<is_quat<R> >::type
2222
#endif
2323
>
24-
operator R() const
24+
BOOST_QVM_CONSTEXPR operator R() const
2525
{
2626
R r;
2727
assign(r,*this);

include/boost/qvm/vec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ vec
2121
, class = typename enable_if<is_vec<R> >::type
2222
#endif
2323
>
24-
operator R() const
24+
BOOST_QVM_CONSTEXPR operator R() const
2525
{
2626
R r;
2727
assign(r,*this);

0 commit comments

Comments
 (0)