fix shadowing warning (#867)

This commit is contained in:
Emmett Lalish
2024-07-16 11:10:09 -07:00
committed by GitHub
parent a6ee198b88
commit 0617d344bc
+1 -1
View File
@@ -29,7 +29,7 @@ class VecView {
using Iter = T *;
using IterC = const T *;
VecView(T *ptr_, size_t size_) : ptr_(ptr_), size_(size_) {}
VecView(T *ptr, size_t size) : ptr_(ptr), size_(size) {}
VecView(const VecView &other) {
ptr_ = other.ptr_;