Skip to content

Commit

Permalink
Use =default
Browse files Browse the repository at this point in the history
  • Loading branch information
harrism committed Oct 5, 2022
1 parent 6cdb69d commit daf6133
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions thrust/iterator/transform_input_output_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ class transform_input_output_iterator
/*! \endcond
*/

/*! Null constructor does nothing.
*/
__host__ __device__ transform_input_output_iterator() {}
transform_input_output_iterator() = default;

/*! This constructor takes as argument a \c Iterator an \c InputFunction and an
* \c OutputFunction and copies them to a new \p transform_input_output_iterator
Expand Down
4 changes: 1 addition & 3 deletions thrust/iterator/transform_output_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ class transform_output_iterator
/*! \endcond
*/

/*! Null constructor does nothing.
*/
__host__ __device__ transform_output_iterator() {}
transform_output_iterator() = default;

/*! This constructor takes as argument an \c OutputIterator and an \c
* UnaryFunction and copies them to a new \p transform_output_iterator
Expand Down

0 comments on commit daf6133

Please sign in to comment.