mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Use noexcept instead of throw() as it was deprecated in c++11
This commit is contained in:
parent
c470df0015
commit
54118dfca0
@ -78,7 +78,7 @@ struct ArrayPortalValueReference
|
||||
void Set(const ValueType& value) const { this->Portal.Set(this->Index, value); }
|
||||
|
||||
VTKM_CONT
|
||||
void Swap(const ArrayPortalValueReference<ArrayPortalType>& rhs) const throw()
|
||||
void Swap(const ArrayPortalValueReference<ArrayPortalType>& rhs) const noexcept
|
||||
{
|
||||
//we need use the explicit type not a proxy temp object
|
||||
//A proxy temp object would point to the same underlying data structure
|
||||
|
Loading…
Reference in New Issue
Block a user