mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Use std::swap instead of manual swap
This commit is contained in:
parent
8489a69c39
commit
af697e4527
@ -514,11 +514,7 @@ int main(int argc, char* argv[])
|
||||
prevTime = currTime;
|
||||
|
||||
// swap dims order
|
||||
{
|
||||
vtkm::Id temp = dims[0];
|
||||
dims[0] = dims[1];
|
||||
dims[1] = temp;
|
||||
}
|
||||
std::swap(dims[0], dims[1]);
|
||||
|
||||
#ifndef WITH_MPI // We only need the inDataSet if are not using MPI otherwise we'll constructe a multi-block dataset
|
||||
// build the input dataset
|
||||
|
Loading…
Reference in New Issue
Block a user