mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 07:14:46 +02:00
#544 use _DEBUG instead of DEBUG macro in [Simple]HashTable
This commit is contained in:
@@ -369,7 +369,7 @@ public:
|
||||
UInt32 size = 1;
|
||||
if (details)
|
||||
detailedEntriesPerHash.push_back(size);
|
||||
#ifdef DEBUG
|
||||
#ifdef _DEBUG
|
||||
totalSize += size;
|
||||
#endif
|
||||
}
|
||||
@@ -380,8 +380,9 @@ public:
|
||||
detailedEntriesPerHash.push_back(0);
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
poco_assert_dbg(totalSize == numberOfEntries);
|
||||
|
||||
#endif
|
||||
return HashStatistic(_capacity, numberOfEntries, numZeroEntries, maxEntriesPerHash, detailedEntriesPerHash);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user