diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 09:35:50 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 09:35:54 -0400 |
commit | 5c47ea1a4e285920f33497f6afd85658c07a102f (patch) | |
tree | 6b567263de23160cd737b4a26e13f88de8cb41ee /src/common/swap.h | |
parent | 0a868641fa3eba59c2e20f553c6027d43e4a73a4 (diff) |
common/swap: Remove unnecessary const on return value of swap()
Diffstat (limited to 'src/common/swap.h')
-rw-r--r-- | src/common/swap.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |