Commit b248b2c9 authored by Robert Maynard's avatar Robert Maynard

Correct unused-parameter warnings from defaulted methods.

GCC 4.8.5 warns about defaulted methods when parameters have names.
parent 75bf9d36
......@@ -82,10 +82,10 @@ public:
explicit VTKM_CONT Storage(vtkm::cont::BitField&& data) noexcept : Data{ std::move(data) } {}
VTKM_CONT Storage() = default;
VTKM_CONT Storage(const Storage& src) = default;
VTKM_CONT Storage(Storage&& src) noexcept = default;
VTKM_CONT Storage& operator=(const Storage& src) = default;
VTKM_CONT Storage& operator=(Storage&& src) noexcept = default;
VTKM_CONT Storage(const Storage&) = default;
VTKM_CONT Storage(Storage&&) noexcept = default;
VTKM_CONT Storage& operator=(const Storage&) = default;
VTKM_CONT Storage& operator=(Storage&&) noexcept = default;
VTKM_CONT
PortalType GetPortal() { return PortalType{ this->Data.GetPortalControl() }; }
......
......@@ -145,10 +145,10 @@ protected:
public:
BitPortalBase() noexcept = default;
BitPortalBase(const BitPortalBase& src) noexcept = default;
BitPortalBase(BitPortalBase&& src) noexcept = default;
BitPortalBase& operator=(const BitPortalBase& src) noexcept = default;
BitPortalBase& operator=(BitPortalBase&& src) noexcept = default;
BitPortalBase(const BitPortalBase&) noexcept = default;
BitPortalBase(BitPortalBase&&) noexcept = default;
BitPortalBase& operator=(const BitPortalBase&) noexcept = default;
BitPortalBase& operator=(BitPortalBase&&) noexcept = default;
/// Returns the number of bits in the BitField.
VTKM_EXEC_CONT
......@@ -528,11 +528,11 @@ public:
: Internals{ std::make_shared<InternalStruct>() }
{
}
VTKM_CONT BitField(const BitField& src) = default;
VTKM_CONT BitField(BitField&& src) noexcept = default;
VTKM_CONT BitField(const BitField&) = default;
VTKM_CONT BitField(BitField&&) noexcept = default;
VTKM_CONT ~BitField() = default;
VTKM_CONT BitField& operator=(const BitField& src) = default;
VTKM_CONT BitField& operator=(BitField&& src) noexcept = default;
VTKM_CONT BitField& operator=(const BitField&) = default;
VTKM_CONT BitField& operator=(BitField&&) noexcept = default;
VTKM_CONT
bool operator==(const BitField& rhs) const { return this->Internals == rhs.Internals; }
......
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