File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
openvkl/devices/cpu/volume/amr Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ namespace openvkl {
6767 levelAllocator.getDevice (), brick.size () + 1 );
6868
6969 newLeaf.brickList = brickListBuffer->sharedPtr ();
70- m_brickListContainer.push_back (brickListBuffer);
70+ m_brickListContainer.push_back (std::move ( brickListBuffer) );
7171
7272 // create leaf list, and sort it
7373 std::copy (brick.begin (), brick.end (), newLeaf.brickList );
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ namespace openvkl {
270270 refinementLevels.push_back (level);
271271 cellWidths.resize (std::max (cellWidths.size (), (size_t )level + 1 ));
272272 cellWidths[level] = dt;
273- brickData.push_back (data);
273+ brickData.push_back (std::move ( data) );
274274 }
275275 }); // end parallel for
276276 currentLevel = nextLevel;
You can’t perform that action at this time.
0 commit comments