Compile fixes

This commit is contained in:
Phillip Stephens 2019-06-20 15:43:27 -07:00
parent 7eda81e55e
commit 87138bbe0e
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ struct VertexFormatInfo {
VertexFormatInfo(const T& tp) : elementCount(std::extent_v<T>), elements(tp) {}
VertexFormatInfo(std::initializer_list<VertexElementDescriptor> l)
: elementCount(l.size()), elements(l.begin()) {}
: elementCount(l.size()), elements(std::move(l.begin())) {}
};
/** Opaque token for referencing a shader stage usable in a graphics pipeline */