Open shihaocao opened 2 years ago
This is a hotfix to address #862. The problematic command in issue ticket 862 now works on x86 Linux.
Replace the std::swap call with a triple line copy to a temporary variable.
std::swap
This screenshot shows a successful swap after swapping 19 up to position 2.
This uplink applied was the one linked in the issue ticket.
This is a hotfix to address #862. The problematic command in issue ticket 862 now works on x86 Linux.
On this PR:
Replace the
std::swap
call with a triple line copy to a temporary variable.