VertexFormatInfo constructor tweak

This commit is contained in:
Jack Andersen 2019-01-02 17:46:48 -10:00
parent cc0620e8f7
commit 8333536a7c
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ struct VertexFormatInfo {
template <typename T>
VertexFormatInfo(const T& tp) : elementCount(std::extent_v<T>), elements(tp) {}
VertexFormatInfo(const std::initializer_list<VertexElementDescriptor>& l)
VertexFormatInfo(std::initializer_list<VertexElementDescriptor> l)
: elementCount(l.size()), elements(l.begin()) {}
};