Removed unnecessary move operations.

This commit is contained in:
Neil MacIntosh
2018-02-10 20:00:44 -08:00
parent 2bdbba7418
commit 5538021e76
2 changed files with 1 additions and 20 deletions
-6
View File
@@ -194,15 +194,9 @@ public:
// copy
constexpr basic_string_span(const basic_string_span& other) GSL_NOEXCEPT = default;
// move
constexpr basic_string_span(basic_string_span&& other) GSL_NOEXCEPT = default;
// assign
constexpr basic_string_span& operator=(const basic_string_span& other) GSL_NOEXCEPT = default;
// move assign
constexpr basic_string_span& operator=(basic_string_span&& other) GSL_NOEXCEPT = default;
constexpr basic_string_span(pointer ptr, index_type length) : span_(ptr, length) {}
constexpr basic_string_span(pointer firstElem, pointer lastElem) : span_(firstElem, lastElem) {}