mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 23:17:27 +00:00
Made generated C++ code respect gcc -Werror=shadow.
Change-Id: I17de0bcc462770124227a9967e2aab620467f6eb Tested: on Linux.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user