Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jayesh Badwaik
VTK-m
Commits
b248b2c9
Commit
b248b2c9
authored
May 02, 2019
by
Robert Maynard
Browse files
Correct unused-parameter warnings from defaulted methods.
GCC 4.8.5 warns about defaulted methods when parameters have names.
parent
75bf9d36
Changes
2
Hide whitespace changes
Inline
Side-by-side
vtkm/cont/ArrayHandleBitField.h
View file @
b248b2c9
...
...
@@ -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
()
};
}
...
...
vtkm/cont/BitField.h
View file @
b248b2c9
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment