mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Fix unused parameter warnings
One of the dashboard compilers (gcc 4.8 with cuda, I think) was giving warnings about an unused parameter. Apparently, the compiler did not like the parameters defined for `default` assignment operators.
This commit is contained in:
parent
cd1a5baba3
commit
2016aa01d5
@ -51,8 +51,8 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
ArrayPortalExtractComponent& operator=(const ArrayPortalExtractComponent& src) = default;
|
ArrayPortalExtractComponent& operator=(const ArrayPortalExtractComponent&) = default;
|
||||||
ArrayPortalExtractComponent& operator=(ArrayPortalExtractComponent&& src) = default;
|
ArrayPortalExtractComponent& operator=(ArrayPortalExtractComponent&&) = default;
|
||||||
|
|
||||||
VTKM_EXEC_CONT
|
VTKM_EXEC_CONT
|
||||||
vtkm::Id GetNumberOfValues() const { return this->Portal.GetNumberOfValues(); }
|
vtkm::Id GetNumberOfValues() const { return this->Portal.GetNumberOfValues(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user