diff options
| author | 2014-05-20 17:46:06 +0200 | |
|---|---|---|
| committer | 2014-05-20 17:46:06 +0200 | |
| commit | 993f65b3bda53e2b22ee9e94efd11cbddd7b73cb (patch) | |
| tree | 0c9b436ae656e36a84a937adf5f6cbfae07f28f1 /src/Array.cpp | |
| parent | 7b59a04d9406fde0847d1ce68c3bf2fde018c198 (diff) | |
| download | libplist-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.cpp | 4 |
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() | |||
| 90 | return new Array(*this); | 90 | return new Array(*this); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | Node* Array::operator[](unsigned int index) | 93 | Node* Array::operator[](unsigned int array_index) |
| 94 | { | 94 | { |
| 95 | return _array.at(index); | 95 | return _array.at(array_index); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | void Array::Append(Node* node) | 98 | void Array::Append(Node* node) |
