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

Commit

Permalink
Fix some issues introduced in #1475.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper authored and brycelelbach committed Feb 1, 2022
1 parent e299b29 commit d6a8f04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thrust/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@ template <class Opt, class F,
*std::declval<Opt>())),
detail::enable_if_t<std::is_void<Ret>::value> * = nullptr>
__host__ __device__
constexpr optional<monostate> optional_map_impl(Opt &&opt, F &&f)
auto optional_map_impl(Opt &&opt, F &&f) -> optional<monostate>
{
if (opt.has_value()) {
detail::invoke(std::forward<F>(f), *std::forward<Opt>(opt));
Expand Down
2 changes: 1 addition & 1 deletion thrust/type_traits/integer_sequence.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ template <std::size_t... Is>
using index_sequence = integer_sequence<std::size_t, Is...>;
#endif

#if THRUST_CPP_DIALECT >= 2014
#if THRUST_CPP_DIALECT < 2014
/*! \cond
*/

Expand Down

0 comments on commit d6a8f04

Please sign in to comment.