Skip to content

Commit

Permalink
reverting constexpr bool
Browse files Browse the repository at this point in the history
It is only initialized with a constexpr, later updated at runtime

Signed-off-by: Dan Hoeflinger <dan.hoeflinger@intel.com>
  • Loading branch information
danhoeflinger committed Oct 14, 2024
1 parent 29f7e57 commit adc6cc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ struct __gen_set_mask

auto __res = oneapi::dpl::__internal::__pstl_lower_bound(__set_b, std::size_t{0}, __nb, __val_a, __comp);

constexpr bool bres =
bool bres =
_IsOpDifference::value; //initialization is true in case of difference operation; false - intersection.
if (__res == __nb || __comp(__val_a, __set_b[__res]))
{
Expand Down

0 comments on commit adc6cc5

Please sign in to comment.