From 5c47ea1a4e285920f33497f6afd85658c07a102f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 19 Jul 2018 09:35:50 -0400 Subject: common/swap: Remove unnecessary const on return value of swap() --- src/common/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/swap.h') diff --git a/src/common/swap.h b/src/common/swap.h index 295c65993..fc7af4280 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; -- cgit v1.2.3