Skip to content

Commit

Permalink
Fix some issues introduced in NVIDIA#1475.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Jan 25, 2022
1 parent 015ca7a commit 2fbc520
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 2fbc520

Please sign in to comment.