From: Vadim Zeitlin Date: Wed, 22 May 2013 14:13:22 +0000 (+0000) Subject: Add ctor from two input iterators to wxArray in STL build too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41da7d974af67d9444b789a06fc29491822c17f1 Add ctor from two input iterators to wxArray in STL build too. This ctor already existed in non-STL build but was omitted from the STL version. Closes #15216. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index aa066b54b8..a7ebbfe176 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -128,6 +128,8 @@ public: \ name() : std::vector() { } \ name(size_type n) : std::vector(n) { } \ name(size_type n, const_reference v) : std::vector(n, v) { } \ + template \ + name(InputIterator first, InputIterator last) : std::vector(first, last) { } \ \ void Empty() { clear(); } \ void Clear() { clear(); } \