diff options
| author | Yong He <yonghe@outlook.com> | 2022-11-01 08:46:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-01 08:46:57 -0700 |
| commit | cbc1eff56057f199183bb7c17d8a360326512367 (patch) | |
| tree | 487865e928cd2ceecbb509f0bfd06aa8d9584411 /source/core | |
| parent | b707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff) | |
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-list.h b/source/core/slang-list.h index 25687d129..187ff3109 100644 --- a/source/core/slang-list.h +++ b/source/core/slang-list.h @@ -269,7 +269,7 @@ namespace Slang void insertRange(Index id, const List<T>& list) { insertRange(id, list.m_buffer, list.m_count); } - void addRange(ArrayView<T> list) { insertRange(m_count, list.getBuffer(), list.Count()); } + void addRange(ArrayView<T> list) { insertRange(m_count, list.getBuffer(), list.getCount()); } void addRange(const T* vals, Index n) { insertRange(m_count, vals, n); } |
