| 15 | |
| 16 | template <int numRows, int numCols, typename T> |
| 17 | std::vector<std::vector<T>> toVector(T const v[numRows][numCols]) |
| 18 | { |
| 19 | std::vector<std::vector<T>> result; |
| 20 | for (int row = 0; row < numRows; ++row) { |
| 21 | std::vector<T> rowVector; |
| 22 | for (int col = 0; col < numCols; ++col) { |
| 23 | rowVector.emplace_back(v[row][col]); |
| 24 | } |
| 25 | result.emplace_back(rowVector); |
| 26 | } |
| 27 | return result; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | void _SimulationParametersZoneWidgets::init(SimulationFacade const& simulationFacade, int locationIndex) |
nothing calls this directly
no outgoing calls
no test coverage detected