Skip to content

Commit 19cdee4

Browse files
Mike GrierEmJayGee
authored andcommitted
Additional fixes
1 parent e30d011 commit 19cdee4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libraries/arefc_ptr/include/m/arefc_ptr/arefc_ptr.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ namespace m
9696
}
9797
else
9898
{
99-
auto const ptr = m::aligned_alloc(std::align_val_t{alignof(T)}, bytes);
100-
return std::span(ptr, bytes);
99+
return m::aligned_alloc(std::align_val_t{alignof(T)}, bytes);
101100
}
102101
}
103102

0 commit comments

Comments
 (0)