From db1374045b3eb38eb4400b07db7a312c690169b2 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Tue, 18 Aug 2015 18:43:55 -0400 Subject: [PATCH] missing include --- src/ui/GLPanel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ui/GLPanel.cpp b/src/ui/GLPanel.cpp index b10a642..00fa2be 100644 --- a/src/ui/GLPanel.cpp +++ b/src/ui/GLPanel.cpp @@ -1,6 +1,7 @@ #include "GLPanel.h" #include "cubic_math.h" +#include using namespace CubicVR; @@ -208,7 +209,7 @@ void GLPanel::setBorderPx(float bordl, float bordr, float bordt, float bordb) { void GLPanel::addChild(GLPanel *childPanel) { std::vector::iterator i = std::find(children.begin(), children.end(), childPanel); - + if (i == children.end()) { children.push_back(childPanel); } @@ -216,7 +217,7 @@ void GLPanel::addChild(GLPanel *childPanel) { void GLPanel::removeChild(GLPanel *childPanel) { std::vector::iterator i = std::find(children.begin(), children.end(), childPanel); - + if (i != children.end()) { children.erase(i); }