From 87138bbe0e610a601add371724eb574e0ef5dcf0 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Thu, 20 Jun 2019 15:43:27 -0700 Subject: [PATCH] Compile fixes --- include/boo/graphicsdev/IGraphicsDataFactory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boo/graphicsdev/IGraphicsDataFactory.hpp b/include/boo/graphicsdev/IGraphicsDataFactory.hpp index 0b345ce..76d7f27 100644 --- a/include/boo/graphicsdev/IGraphicsDataFactory.hpp +++ b/include/boo/graphicsdev/IGraphicsDataFactory.hpp @@ -137,7 +137,7 @@ struct VertexFormatInfo { VertexFormatInfo(const T& tp) : elementCount(std::extent_v), elements(tp) {} VertexFormatInfo(std::initializer_list 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 */