Commit d31e13e1 authored by Mark Olesen's avatar Mark Olesen

STYLE: use set() for HashPtrTable

parent 5828d451
...@@ -64,7 +64,7 @@ void Foam::catalyst::faMeshInput::update() ...@@ -64,7 +64,7 @@ void Foam::catalyst::faMeshInput::update()
{ {
if (!backends_.found(iter.key())) if (!backends_.found(iter.key()))
{ {
backends_.insert backends_.set
( (
iter.key(), iter.key(),
new Foam::vtk::faMeshAdaptor(*(iter.object())) new Foam::vtk::faMeshAdaptor(*(iter.object()))
......
...@@ -74,7 +74,7 @@ void Foam::catalyst::fvMeshInput::update() ...@@ -74,7 +74,7 @@ void Foam::catalyst::fvMeshInput::update()
{ {
if (!backends_.found(iter.key())) if (!backends_.found(iter.key()))
{ {
backends_.insert backends_.set
( (
iter.key(), iter.key(),
new Foam::vtk::fvMeshAdaptor(*(iter.object()), decompose_) new Foam::vtk::fvMeshAdaptor(*(iter.object()), decompose_)
......
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