From 993f65b3bda53e2b22ee9e94efd11cbddd7b73cb Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 20 May 2014 17:46:06 +0200 Subject: Rename "index" variable as it shadows global declaration on older systems --- src/Array.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Array.cpp') diff --git a/src/Array.cpp b/src/Array.cpp index 419249f..a4ea02a 100644 --- a/src/Array.cpp +++ b/src/Array.cpp @@ -90,9 +90,9 @@ Node* Array::Clone() return new Array(*this); } -Node* Array::operator[](unsigned int index) +Node* Array::operator[](unsigned int array_index) { - return _array.at(index); + return _array.at(array_index); } void Array::Append(Node* node) -- cgit v1.1-32-gdbae