mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
_entries.reserve(ht._capacity);
|
||||
for (auto p: ht._entries.end())
|
||||
{
|
||||
if (p)
|
||||
if (p)
|
||||
_entries.push_back(new HashEntry(p));
|
||||
else
|
||||
_entries.push_back(0);
|
||||
@@ -90,7 +90,7 @@ public:
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
void swap(SimpleHashTable& ht) noexcept
|
||||
{
|
||||
using std::swap;
|
||||
@@ -216,12 +216,12 @@ public:
|
||||
UInt32 hsh = hash(key);
|
||||
return const_cast<Value&>(getRaw(key, hsh));
|
||||
}
|
||||
|
||||
|
||||
const Value& operator [] (const Key& key) const
|
||||
{
|
||||
return get(key);
|
||||
}
|
||||
|
||||
|
||||
Value& operator [] (const Key& key)
|
||||
{
|
||||
UInt32 hsh = hash(key);
|
||||
@@ -326,7 +326,7 @@ public:
|
||||
{
|
||||
return _size;
|
||||
}
|
||||
|
||||
|
||||
UInt32 capacity() const
|
||||
{
|
||||
return _capacity;
|
||||
|
||||
Reference in New Issue
Block a user