| 4 | namespace FSecure::C3::Linter |
| 5 | { |
| 6 | Form::Form(json argumentForm) : |
| 7 | m_ArgumentsForm(std::move(argumentForm)) |
| 8 | { |
| 9 | for (auto& arg : m_ArgumentsForm) |
| 10 | { |
| 11 | if (arg.is_array()) |
| 12 | { |
| 13 | for (auto& a : arg) |
| 14 | { |
| 15 | m_Elements.emplace_back(MakeFormElement(a)); |
| 16 | } |
| 17 | } |
| 18 | else |
| 19 | { |
| 20 | m_Elements.emplace_back(MakeFormElement(arg)); |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | Form::Form(Form const& other) noexcept : |
| 26 | Form(other.m_ArgumentsForm) |
nothing calls this directly
no test coverage detected