From 995cfdf1cbd54a487008910ced5103d69e9e1acb Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Thu, 12 Nov 2015 10:46:21 +0300 Subject: [PATCH] Add copy assignment operator to `BoundsRanges` `BoundsRanges` defines copy constructor, but lacks `=` operator --- include/span.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/span.h b/include/span.h index cb045cb..adcded9 100644 --- a/include/span.h +++ b/include/span.h @@ -292,6 +292,7 @@ namespace details {} BoundsRanges (const BoundsRanges&) = default; + BoundsRanges& operator=(const BoundsRanges&) = default; BoundsRanges(const std::ptrdiff_t* const) { } BoundsRanges() = default;