File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ namespace mbed {
30
30
* If the type use this value then the size of the array is stored in the object
31
31
* at runtime.
32
32
*/
33
- #define SPAN_DYNAMIC_SIZE -1
33
+ #define SPAN_DYNAMIC_EXTENT -1
34
34
35
35
/* *
36
36
* View to an array.
@@ -55,7 +55,7 @@ namespace mbed {
55
55
* SPAN_DYNAMIC_SIZE is special as it allows construction of Span objects of
56
56
* any size (set at runtime).
57
57
*/
58
- template <typename T, ptrdiff_t Size = SPAN_DYNAMIC_SIZE >
58
+ template <typename T, ptrdiff_t Size = SPAN_DYNAMIC_EXTENT >
59
59
struct Span {
60
60
61
61
MBED_STATIC_ASSERT (Size >= 0 , " Invalid size for an ArrayView" );
@@ -220,7 +220,7 @@ struct Span {
220
220
* Span specialisation that handle dynamic array size.
221
221
*/
222
222
template <typename T>
223
- struct Span <T, SPAN_DYNAMIC_SIZE > {
223
+ struct Span <T, SPAN_DYNAMIC_EXTENT > {
224
224
225
225
/* *
226
226
* Construct a view to an empty array.
You can’t perform that action at this time.
0 commit comments