summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-11-01 08:46:57 -0700
committerGitHub <noreply@github.com>2022-11-01 08:46:57 -0700
commitcbc1eff56057f199183bb7c17d8a360326512367 (patch)
tree487865e928cd2ceecbb509f0bfd06aa8d9584411 /source/core
parentb707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff)
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-list.h2
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); }