returning std::vector<> as return value is very inefficient. Please, replace it with

"void get_nodes(std::vector<GasNode>& nodes) const;"