Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix style suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorsm7 committed Jun 8, 2020
1 parent b87e04c commit 4daf1ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions thrust/iterator/detail/transform_input_output_iterator.inl
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ template <typename InputFunction, typename OutputFunction, typename Iterator>

public:
__host__ __device__
transform_input_output_iterator_proxy(const Iterator& io, InputFunction input_function, OutputFunction output_function) : io(io), input_function(input_function), output_function(output_function)
transform_input_output_iterator_proxy(const Iterator& io, InputFunction input_function, OutputFunction output_function)
: io(io), input_function(input_function), output_function(output_function)
{
}

__thrust_exec_check_disable__
__host__ __device__
operator Value const() const {
operator Value const() const
{
return input_function(*io);
}

Expand Down
3 changes: 2 additions & 1 deletion thrust/iterator/transform_input_output_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ template <typename InputFunction, typename OutputFunction, typename Iterator>
* \param output_function An \c OutputFunction to be executed on values written to the iterator
*/
__host__ __device__
transform_input_output_iterator(Iterator const& io, InputFunction input_function, OutputFunction output_function) : super_t(io), input_function(input_function), output_function(output_function)
transform_input_output_iterator(Iterator const& io, InputFunction input_function, OutputFunction output_function)
: super_t(io), input_function(input_function), output_function(output_function)
{
}

Expand Down

0 comments on commit 4daf1ce

Please sign in to comment.