Skip to content

Commit

Permalink
nvhpc warning suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Nov 25, 2023
1 parent 8d0a8ac commit 9a01d44
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/stdexec/__detail/__basic_sender.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ namespace stdexec {
_Receiver&& __rcvr,
_SetTag,
_Args&&... __args) noexcept {
_SetTag()((_Receiver&&) __rcvr, (_Args&&) __args...);
_SetTag()(std::move(__rcvr), (_Args&&) __args...);
}

// By default, return a generic operation state
Expand Down Expand Up @@ -298,6 +298,9 @@ namespace stdexec {
}
};

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_EDG(offset_in_non_POD_nonstandard)

template <class _Sexpr, class _Receiver>
struct __enable_receiver_from_this {
using __op_base_t = __op_base<_Sexpr, _Receiver>;
Expand All @@ -319,6 +322,8 @@ namespace stdexec {
}
};

STDEXEC_PRAGMA_POP()

template <class _Sexpr, class _Receiver>
struct __connect_fn {
template <std::size_t _Idx>
Expand Down

0 comments on commit 9a01d44

Please sign in to comment.