diff options
| author | 2018-07-19 09:35:50 -0400 | |
|---|---|---|
| committer | 2018-07-19 09:35:54 -0400 | |
| commit | 5c47ea1a4e285920f33497f6afd85658c07a102f (patch) | |
| tree | 6b567263de23160cd737b4a26e13f88de8cb41ee /src/common | |
| parent | common/swap: Use static_cast where applicable (diff) | |
| download | yuzu-5c47ea1a4e285920f33497f6afd85658c07a102f.tar.gz yuzu-5c47ea1a4e285920f33497f6afd85658c07a102f.tar.xz yuzu-5c47ea1a4e285920f33497f6afd85658c07a102f.zip | |
common/swap: Remove unnecessary const on return value of swap()
Diffstat (limited to 'src/common')
| -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 295c65993..fc7af4280 100644 --- a/src/common/swap.h +++ b/src/common/swap.h | |||
| @@ -177,7 +177,7 @@ protected: | |||
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | public: | 179 | public: |
| 180 | T const swap() const { | 180 | T swap() const { |
| 181 | return swap(value); | 181 | return swap(value); |
| 182 | } | 182 | } |
| 183 | swap_struct_t() = default; | 183 | swap_struct_t() = default; |