summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/core/slang-array.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/core/slang-array.h b/source/core/slang-array.h
index 8d22e1848..86fdd301f 100644
--- a/source/core/slang-array.h
+++ b/source/core/slang-array.h
@@ -126,6 +126,12 @@ namespace Slang
return rs;
}
+ template<typename T>
+ auto makeArray() -> Array<T, 0>
+ {
+ return Array<T, 0>();
+ }
+
template<typename TList>
void addToList(TList&)