author | Bas Schouten <bschouten@mozilla.com> |
Thu, 08 Mar 2018 22:00:05 +0100 | |
changeset 765012 | 0012e355be74686da313765b70ee2e81a037fbc2 |
parent 756941 | d0d3693d9beff5477175a441fdb06e281e8b7f17 |
child 765088 | 4e7faca60339ad0d252373381f44bff43357fee4 |
push id | 101931 |
push user | bschouten@mozilla.com |
push date | Thu, 08 Mar 2018 21:00:41 +0000 |
reviewers | froydnj |
bugs | 1444200 |
milestone | 60.0a1 |
--- a/xpcom/ds/nsTArray.h +++ b/xpcom/ds/nsTArray.h @@ -2433,16 +2433,17 @@ public: typedef typename base_type::elem_type elem_type; AutoTArray() { Init(); } AutoTArray(const self_type& aOther) + : nsTArray<E>() { Init(); this->AppendElements(aOther); } explicit AutoTArray(const base_type& aOther) { Init();