Resolves: fdo#86552 undo want to take ownership of nodes, but can't

Revert "fdo#75757 remove inheritance from std::vector"

This reverts commit 63d8977f9fb0618d36dc8e0ee2f8068b1af92fe6.

Change-Id: Idc9902a77ee2c1cb21b9e3b477b2d960772a022e
(cherry picked from commit 68d87e98951ae3ed5f7b863954667bfdd9805985)