Skip to content

Commit 8542755

Browse files
committed
iterator_traits
1 parent f72fc16 commit 8542755

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ class set_voxel_iterator {
198198
const vec_n<3, size_t>& operator*() const { return current_; }
199199
};
200200

201+
template <>
202+
struct std::iterator_traits<set_voxel_iterator> {
203+
typedef std::forward_iterator_tag iterator_category;
204+
};
205+
201206
struct obj_export_helper {
202207
std::ostream* stream;
203208
size_t vert_counter;

0 commit comments

Comments
 (0)