summaryrefslogtreecommitdiffstats
path: root/src/Array.cpp
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-05-20 17:46:06 +0200
committerGravatar Martin Szulecki2014-05-20 17:46:06 +0200
commit993f65b3bda53e2b22ee9e94efd11cbddd7b73cb (patch)
tree0c9b436ae656e36a84a937adf5f6cbfae07f28f1 /src/Array.cpp
parent7b59a04d9406fde0847d1ce68c3bf2fde018c198 (diff)
downloadlibplist-993f65b3bda53e2b22ee9e94efd11cbddd7b73cb.tar.gz
libplist-993f65b3bda53e2b22ee9e94efd11cbddd7b73cb.tar.bz2
Rename "index" variable as it shadows global declaration on older systems
Diffstat (limited to 'src/Array.cpp')
-rw-r--r--src/Array.cpp4
1 files changed, 2 insertions, 2 deletions
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)