diff --git a/Source/Engine/Core/Collections/Array.h b/Source/Engine/Core/Collections/Array.h index a852d63d6..7e164ad70 100644 --- a/Source/Engine/Core/Collections/Array.h +++ b/Source/Engine/Core/Collections/Array.h @@ -76,6 +76,15 @@ public: } } + /// + /// Initializes by copying span of elements. + /// + /// The initial values defined in the array. + FORCE_INLINE Array(class Span span) + : Array(span.Get(), span.Length()) + { + } + /// /// Initializes by copying listed elements. ///