Skip to content

Commit

Permalink
fix shadowing warning (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish authored Jul 16, 2024
1 parent a6ee198 commit 0617d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/include/vec_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 0617d34

Please sign in to comment.