summaryrefslogtreecommitdiffhomepage
path: root/include/GenericsLibrary/swap.nhh
diff options
context:
space:
mode:
Diffstat (limited to 'include/GenericsLibrary/swap.nhh')
-rw-r--r--include/GenericsLibrary/swap.nhh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/GenericsLibrary/swap.nhh b/include/GenericsLibrary/swap.nhh
index 01d24da..5575bed 100644
--- a/include/GenericsLibrary/swap.nhh
+++ b/include/GenericsLibrary/swap.nhh
@@ -13,8 +13,7 @@ let swap(let a, let b)
let temp := a;
a := b;
b := temp;
-
- return;
+ return temp;
}
#endif //@ NECTAR_GL_SWAP_NHH \ No newline at end of file