Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 737ccef

Browse files
Add default constructor to void_range::iterator (#875)
1 parent 96979af commit 737ccef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdc/native/utils.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ struct void_range
110110
using pointer = data_type*;
111111
using iterator_category = std::random_access_iterator_tag;
112112

113+
iterator() {}
114+
113115
iterator(void* ptr, uint64_t size): _ptr(ptr), _size(size) {}
114116

115117
iterator(const iterator& other): _ptr(other._ptr), _size(other._size) {}

0 commit comments

Comments
 (0)