mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
GH #1050 Foundation-tests: fix gcc -Wshadow warnings
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
typedef std::vector<HashEntry*> HashTableVector;
|
||||
|
||||
SimpleHashTable(UInt32 capacity = 251): _entries(capacity, 0), _size(0), _capacity(capacity)
|
||||
SimpleHashTable(UInt32 tableCapacity = 251): _entries(tableCapacity, 0), _size(0), _capacity(tableCapacity)
|
||||
/// Creates the SimpleHashTable.
|
||||
{
|
||||
}
|
||||
@@ -366,11 +366,11 @@ public:
|
||||
if (_entries[i])
|
||||
{
|
||||
maxEntriesPerHash = 1;
|
||||
UInt32 size = 1;
|
||||
UInt32 entrySize = 1;
|
||||
if (details)
|
||||
detailedEntriesPerHash.push_back(size);
|
||||
detailedEntriesPerHash.push_back(entrySize);
|
||||
#ifdef _DEBUG
|
||||
totalSize += size;
|
||||
totalSize += entrySize;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user