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

Commit c58c834

Browse files
committed
Eliminate superfluous punctuation
1 parent 343b34d commit c58c834

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

thrust/detail/functional.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ template<typename Result, typename Argument1, typename Argument2>
6666
typedef Argument2 second_argument_type;
6767
}; // end binary_traits_imp
6868

69-
}; // end detail
69+
} // end detail
7070

7171
template<typename Operation>
7272
struct unary_traits

thrust/detail/type_traits/function_traits.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ namespace detail
3939

4040
// some metafunctions which check for the nested types of the adaptable functions
4141

42-
__THRUST_DEFINE_HAS_NESTED_TYPE(has_result_type, result_type);
42+
__THRUST_DEFINE_HAS_NESTED_TYPE(has_result_type, result_type)
4343

44-
__THRUST_DEFINE_HAS_NESTED_TYPE(has_argument_type, argument_type);
44+
__THRUST_DEFINE_HAS_NESTED_TYPE(has_argument_type, argument_type)
4545

46-
__THRUST_DEFINE_HAS_NESTED_TYPE(has_first_argument_type, first_argument_type);
46+
__THRUST_DEFINE_HAS_NESTED_TYPE(has_first_argument_type, first_argument_type)
4747

48-
__THRUST_DEFINE_HAS_NESTED_TYPE(has_second_argument_type, second_argument_type);
48+
__THRUST_DEFINE_HAS_NESTED_TYPE(has_second_argument_type, second_argument_type)
4949

5050

5151
template<typename AdaptableBinaryFunction>

thrust/detail/type_traits/is_metafunction_defined.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace thrust
2424
namespace detail
2525
{
2626

27-
__THRUST_DEFINE_HAS_NESTED_TYPE(is_metafunction_defined, type);
27+
__THRUST_DEFINE_HAS_NESTED_TYPE(is_metafunction_defined, type)
2828

2929
} // end detail
3030

thrust/functional.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ static const thrust::detail::functional::placeholder<9>::type _10;
968968

969969
} // end placeholders
970970

971-
}; // end thrust
971+
} // end thrust
972972

973973
#include <thrust/detail/functional.inl>
974974
#include <thrust/detail/functional/operators.h>

thrust/iterator/detail/zip_iterator.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ template<typename IteratorTuple>
158158
using namespace thrust::detail::tuple_impl_specific;
159159

160160
return thrust::detail::tuple_host_device_transform<thrust::detail::device_dereference_iterator::template apply>(iter.get_iterator_tuple(), thrust::detail::device_dereference_iterator());
161-
}; // end dereference()
161+
} // end dereference()
162162

163163

164164
template<typename IteratorTuple, typename IndexType>
@@ -173,7 +173,7 @@ template<typename IteratorTuple, typename IndexType>
173173
f.n = n;
174174

175175
return thrust::detail::tuple_host_device_transform<thrust::detail::device_dereference_iterator_with_index<IndexType>::template apply>(iter.get_iterator_tuple(), f);
176-
}; // end dereference()
176+
} // end dereference()
177177

178178

179179
} // end backend

thrust/replace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ template<typename InputIterator1, typename InputIterator2, typename OutputIterat
388388
* \} // transformations
389389
*/
390390

391-
}; // end thrust
391+
} // end thrust
392392

393393
#include <thrust/detail/replace.inl>
394394

thrust/system/error_code.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ enum errc_t
133133
too_many_links = detail::emlink,
134134
too_many_symbolic_link_levels = detail::eloop,
135135
value_too_large = detail::eoverflow,
136-
wrong_protocol_type = detail::eprototype,
136+
wrong_protocol_type = detail::eprototype
137137
}; // end errc_t
138138

139139
} // end namespace errc

0 commit comments

Comments
 (0)