diff --git a/src/common/swap.h b/src/common/swap.h index 4a9e572bd4..32af0b6acc 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;