mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
make calling to emplace_back type safe
This commit is contained in:
parent
43dd4638ed
commit
b8c1f5aac3
@ -174,10 +174,10 @@ void TestPointTransform()
|
||||
angles.push_back(angleDist(randGenerator));
|
||||
|
||||
std::vector<vtkm::Vec3f> axes;
|
||||
axes.emplace_back(1, 0, 0);
|
||||
axes.emplace_back(0, 1, 0);
|
||||
axes.emplace_back(0, 0, 1);
|
||||
axes.emplace_back(1, 1, 1);
|
||||
axes.emplace_back(1.f, 0.f, 0.f);
|
||||
axes.emplace_back(0.f, 1.f, 0.f);
|
||||
axes.emplace_back(0.f, 0.f, 1.f);
|
||||
axes.emplace_back(1.f, 1.f, 1.f);
|
||||
axes.push_back(-axes[0]);
|
||||
axes.push_back(-axes[1]);
|
||||
axes.push_back(-axes[2]);
|
||||
|
Loading…
Reference in New Issue
Block a user