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

This commit is contained in:
Lioncash 2018-07-19 09:35:50 -04:00 committed by zhupengfei
parent a2203e1566
commit 1a0529a064

View file

@ -177,7 +177,7 @@ protected:
}
public:
T const swap() const {
T swap() const {
return swap(value);
}
swap_struct_t() = default;