Commit 49129ba8 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: using private data in HashPtrTableIO

parent 98ccc6ed
......@@ -54,7 +54,7 @@ void Foam::HashPtrTable<T, Key, Hash>::read(Istream& is, const INew& inewt)
if (s)
{
if (2*s > this->tableSize_)
if (2*s > this->capacity())
{
this->resize(2*s);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment