mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[caffe][executorch] rename to avoid shadow in irange (#157107)
Summary: D76832520 switched Executorch to use the caffe c10 headers. This copy contains a shadow, which is treated as an error for certain embedded compile flows. Simple rename to avoid. Test Plan: CI Rollback Plan: Differential Revision: D77446104 Pull Request resolved: https://github.com/pytorch/pytorch/pull/157107 Approved by: https://github.com/Skylion007
This commit is contained in:
committed by
PyTorch MergeBot
parent
018e9826a2
commit
11f7e2f145
@ -24,7 +24,7 @@ struct integer_iterator {
|
||||
using pointer = I*;
|
||||
using reference = I&;
|
||||
|
||||
explicit constexpr integer_iterator(I value) : value(value) {}
|
||||
explicit constexpr integer_iterator(I val) : value(val) {}
|
||||
|
||||
constexpr I operator*() const {
|
||||
return value;
|
||||
|
Reference in New Issue
Block a user