This commit is contained in:
aortigos
2026-03-23 09:56:09 +01:00
parent 8c6a50b16f
commit 582f5ad276
3 changed files with 11 additions and 3 deletions

View File

@@ -19,9 +19,8 @@
template <typename T>
void swap(T &a, T &b)
{
T tmp;
T tmp = a;
tmp = a;
a = b;
b = tmp;
}