Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

common/swap: Remove unnecessary const on return value of swap()

Lioncash5edccd695c6d
diff --git a/src/common/swap.h b/src/common/swap.h
index 295c659935..fc7af42801 100644
--- a/src/common/swap.h
+++ b/src/common/swap.h
@@ -177,7 +177,7 @@ protected:
}
public:
- T const swap() const {
+ T swap() const {
return swap(value);
}
swap_struct_t() = default;