From 749c8d8fbc97b1fde33a92372069a4bd6506d638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 30 Oct 2013 13:52:28 +0100 Subject: [PATCH] GCC 4.5 compatibility: some explicit typing needed. --- src/MeshTools/Interleave.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MeshTools/Interleave.h b/src/MeshTools/Interleave.h index 4a5c2d2c9..c7147d1a6 100644 --- a/src/MeshTools/Interleave.h +++ b/src/MeshTools/Interleave.h @@ -64,7 +64,7 @@ class Interleave { operator()(attributes...); mesh.setVertexCount(_attributeCount); - buffer.setData({_data, _attributeCount*_stride}, usage); + buffer.setData(Containers::ArrayReference{_data, _attributeCount*_stride}, usage); delete[] _data; }