You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm learning the awesome work of IPC, and I really appreciate your generous contribution to this toolkit!
But when compiling the unordered_map_and_set.hpp (I don't set the abseil option, so the Hash structure is defined separately), some warning from GCC occurs, which says that the Hash::combine function is "returning reference to temporary". If I ignore the warning from compiler, segmentation fault happens when running into this line.
I'm not quite familiar with std::move or Rvalue reference, but I think there might be something wrong in this line, where you seem to return the reference of a temporary Hash variable.
The text was updated successfully, but these errors were encountered:
I'm learning the awesome work of IPC, and I really appreciate your generous contribution to this toolkit!
But when compiling the
unordered_map_and_set.hpp
(I don't set the abseil option, so theHash
structure is defined separately), some warning from GCC occurs, which says that theHash::combine
function is "returning reference to temporary". If I ignore the warning from compiler, segmentation fault happens when running into this line.I'm not quite familiar with
std::move
or Rvalue reference, but I think there might be something wrong in this line, where you seem to return the reference of a temporaryHash
variable.The text was updated successfully, but these errors were encountered: