Skip to content

Commit

Permalink
[共通] update ConstantBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Nov 27, 2023
1 parent cf55601 commit 01af2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Siv3D/include/Siv3D/detail/ConstantBuffer.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace s3d
inline ConstantBuffer<Type>::ConstantBuffer(Args&&... args)
: ConstantBuffer{}
{
m_wrapper->data = Type{ std::forward<Args>(args)... };
m_wrapper->data = Type(std::forward<Args>(args)...);
}

template <class Type>
Expand Down

0 comments on commit 01af2c4

Please sign in to comment.