From 1a0529a064b9b60243bf2e056e1a531eb463ad09 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 19 Jul 2018 09:35:50 -0400 Subject: [PATCH] common/swap: Remove unnecessary const on return value of swap() --- src/common/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;