From 5e66a079c438b23a16e17713078967f4679808e3 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 27 May 2015 10:38:15 -0700 Subject: [PATCH] make this build on older gcc --- libraries/gpu/src/gpu/Resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gpu/src/gpu/Resource.h b/libraries/gpu/src/gpu/Resource.h index c7763e108b..846a416191 100644 --- a/libraries/gpu/src/gpu/Resource.h +++ b/libraries/gpu/src/gpu/Resource.h @@ -309,7 +309,7 @@ public: protected: T* _ptr; - int _stride = sizeof(T); + int _stride; }; template Iterator begin() { return Iterator(&edit(0), _stride); }