Skip to content

Commit

Permalink
Remove xpu::pair::swap
Browse files Browse the repository at this point in the history
  • Loading branch information
xytintel authored Aug 1, 2024
1 parent 993e808 commit ac5a44a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/comm/XPUPair.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ struct pair {

template <typename U1, typename U2>
pair(const std::pair<U1, U2>& p) : first(p.first), second(p.second) {}

inline void swap(pair& p) {
std::swap(first, p.first);
std::swap(second, p, second);
}
};

template <typename T1, typename T2>
Expand Down

0 comments on commit ac5a44a

Please sign in to comment.