Made generated C++ code respect gcc -Werror=shadow.

Change-Id: I17de0bcc462770124227a9967e2aab620467f6eb
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2015-11-25 16:48:28 -08:00
parent 1075c80e8a
commit b7d8c2af1a
5 changed files with 45 additions and 45 deletions

View File

@@ -329,9 +329,9 @@ public:
return nullptr; // Key not found.
}
const uint8_t *data = reinterpret_cast<const uint8_t *>(search_result);
const uint8_t *element = reinterpret_cast<const uint8_t *>(search_result);
return IndirectHelper<T>::Read(data, 0);
return IndirectHelper<T>::Read(element, 0);
}
protected: