d/steamvr_lh: Fix xrt_space_relation_flags |= operator again

This commit is contained in:
Christoph Haag 2024-05-20 01:44:12 +02:00
parent b2b9fd0658
commit 9387a09746

View file

@ -663,10 +663,11 @@ operator|(xrt_space_relation_flags a, xrt_space_relation_flags b)
return static_cast<xrt_space_relation_flags>(static_cast<uint32_t>(a) | static_cast<uint32_t>(b));
}
inline xrt_space_relation_flags
operator|=(xrt_space_relation_flags a, xrt_space_relation_flags b)
inline xrt_space_relation_flags &
operator|=(xrt_space_relation_flags &a, xrt_space_relation_flags b)
{
return a | b;
a = a | b;
return a;
}
void