Browse Source

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

Lioncash 8 years ago
parent
commit
5c47ea1a4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/swap.h

+ 1 - 1
src/common/swap.h

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