diff --git a/thrust/detail/functional.inl b/thrust/detail/functional.inl index 3fdf2196c..402458593 100644 --- a/thrust/detail/functional.inl +++ b/thrust/detail/functional.inl @@ -66,7 +66,7 @@ template typedef Argument2 second_argument_type; }; // end binary_traits_imp -}; // end detail +} // end detail template struct unary_traits diff --git a/thrust/detail/type_traits/function_traits.h b/thrust/detail/type_traits/function_traits.h index d4531b2fc..39015c608 100644 --- a/thrust/detail/type_traits/function_traits.h +++ b/thrust/detail/type_traits/function_traits.h @@ -39,13 +39,13 @@ namespace detail // some metafunctions which check for the nested types of the adaptable functions -__THRUST_DEFINE_HAS_NESTED_TYPE(has_result_type, result_type); +__THRUST_DEFINE_HAS_NESTED_TYPE(has_result_type, result_type) -__THRUST_DEFINE_HAS_NESTED_TYPE(has_argument_type, argument_type); +__THRUST_DEFINE_HAS_NESTED_TYPE(has_argument_type, argument_type) -__THRUST_DEFINE_HAS_NESTED_TYPE(has_first_argument_type, first_argument_type); +__THRUST_DEFINE_HAS_NESTED_TYPE(has_first_argument_type, first_argument_type) -__THRUST_DEFINE_HAS_NESTED_TYPE(has_second_argument_type, second_argument_type); +__THRUST_DEFINE_HAS_NESTED_TYPE(has_second_argument_type, second_argument_type) template diff --git a/thrust/detail/type_traits/is_metafunction_defined.h b/thrust/detail/type_traits/is_metafunction_defined.h index e17475967..1f271d996 100644 --- a/thrust/detail/type_traits/is_metafunction_defined.h +++ b/thrust/detail/type_traits/is_metafunction_defined.h @@ -24,7 +24,7 @@ namespace thrust namespace detail { -__THRUST_DEFINE_HAS_NESTED_TYPE(is_metafunction_defined, type); +__THRUST_DEFINE_HAS_NESTED_TYPE(is_metafunction_defined, type) } // end detail diff --git a/thrust/functional.h b/thrust/functional.h index ce9635276..117f6179a 100644 --- a/thrust/functional.h +++ b/thrust/functional.h @@ -968,7 +968,7 @@ static const thrust::detail::functional::placeholder<9>::type _10; } // end placeholders -}; // end thrust +} // end thrust #include #include diff --git a/thrust/iterator/detail/zip_iterator.inl b/thrust/iterator/detail/zip_iterator.inl index 53234c354..6971d1c6a 100644 --- a/thrust/iterator/detail/zip_iterator.inl +++ b/thrust/iterator/detail/zip_iterator.inl @@ -158,7 +158,7 @@ template using namespace thrust::detail::tuple_impl_specific; return thrust::detail::tuple_host_device_transform(iter.get_iterator_tuple(), thrust::detail::device_dereference_iterator()); -}; // end dereference() +} // end dereference() template @@ -173,7 +173,7 @@ template f.n = n; return thrust::detail::tuple_host_device_transform::template apply>(iter.get_iterator_tuple(), f); -}; // end dereference() +} // end dereference() } // end backend diff --git a/thrust/replace.h b/thrust/replace.h index d062ef845..0b0b33b2b 100644 --- a/thrust/replace.h +++ b/thrust/replace.h @@ -388,7 +388,7 @@ template diff --git a/thrust/system/error_code.h b/thrust/system/error_code.h index 9bae7eb56..f43c2e63a 100644 --- a/thrust/system/error_code.h +++ b/thrust/system/error_code.h @@ -133,7 +133,7 @@ enum errc_t too_many_links = detail::emlink, too_many_symbolic_link_levels = detail::eloop, value_too_large = detail::eoverflow, - wrong_protocol_type = detail::eprototype, + wrong_protocol_type = detail::eprototype }; // end errc_t } // end namespace errc