Commit 3dda0ab2 authored by Robert Maynard's avatar Robert Maynard

Correct unused-parameter warnings from defaulted methods.

GCC 6 warns about defaulted methods when parameters have names.
parent 33a30299
...@@ -244,7 +244,7 @@ struct TransformFunctorManager ...@@ -244,7 +244,7 @@ struct TransformFunctorManager
VTKM_CONT TransformFunctorManager() = default; VTKM_CONT TransformFunctorManager() = default;
VTKM_CONT TransformFunctorManager(const TransformFunctorManager& other) = default; VTKM_CONT TransformFunctorManager(const TransformFunctorManager&) = default;
VTKM_CONT TransformFunctorManager(const ProvidedFunctorType& functor) VTKM_CONT TransformFunctorManager(const ProvidedFunctorType& functor)
: Superclass(functor) : Superclass(functor)
......
...@@ -68,10 +68,10 @@ public: ...@@ -68,10 +68,10 @@ public:
{ {
} }
VTKM_CONT Storage(const ClassType& src) = default; VTKM_CONT Storage(const ClassType&) = default;
VTKM_CONT Storage(ClassType&& src) = default; VTKM_CONT Storage(ClassType&&) = default;
VTKM_CONT ClassType& operator=(const ClassType& src) = default; VTKM_CONT ClassType& operator=(const ClassType&) = default;
VTKM_CONT ClassType& operator=(ClassType&& src) = default; VTKM_CONT ClassType& operator=(ClassType&&) = default;
// All these methods do nothing but raise errors. // All these methods do nothing but raise errors.
VTKM_CONT VTKM_CONT
......
...@@ -85,18 +85,17 @@ public: ...@@ -85,18 +85,17 @@ public:
{ {
} }
VTKM_CONT VariantArrayHandleBase(const VariantArrayHandleBase& src) = default; VTKM_CONT VariantArrayHandleBase(const VariantArrayHandleBase&) = default;
VTKM_CONT VariantArrayHandleBase(VariantArrayHandleBase&& src) noexcept = default; VTKM_CONT VariantArrayHandleBase(VariantArrayHandleBase&&) noexcept = default;
VTKM_CONT VTKM_CONT
~VariantArrayHandleBase() {} ~VariantArrayHandleBase() {}
VTKM_CONT VTKM_CONT
VariantArrayHandleBase<TypeList>& operator=(const VariantArrayHandleBase<TypeList>& src) = VariantArrayHandleBase<TypeList>& operator=(const VariantArrayHandleBase<TypeList>&) = default;
default;
VTKM_CONT VTKM_CONT
VariantArrayHandleBase<TypeList>& operator=(VariantArrayHandleBase<TypeList>&& src) noexcept = VariantArrayHandleBase<TypeList>& operator=(VariantArrayHandleBase<TypeList>&&) noexcept =
default; default;
......
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