From 7832866652a474ad123d54708a27558336f2f691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Wed, 21 Nov 2012 20:16:14 +0100 Subject: [PATCH] Fixed compilation errors with newer g++ versions --- game/matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/matrix.h b/game/matrix.h index d0575b7..20dba8c 100644 --- a/game/matrix.h +++ b/game/matrix.h @@ -34,12 +34,12 @@ public: // Construct a matrix with an initial value Matrix(int iSize1, int iSize2, const T &iValue) { - resize(iSize1, vector(iSize2, iValue)); + this->resize(iSize1, vector(iSize2, iValue)); } // Construct a square matrix with an initial value Matrix(int iSize, const T &iValue) { - resize(iSize, vector(iSize, iValue)); + this->resize(iSize, vector(iSize, iValue)); } };