| 639 | }; |
| 640 | |
| 641 | std::filesystem::path concat_if_not_empty(const std::filesystem::path& parent, const std::filesystem::path& child) { |
| 642 | if (!child.empty()) { |
| 643 | return parent / child; |
| 644 | } |
| 645 | return child; |
| 646 | } |
| 647 | |
| 648 | template <typename T> |
| 649 | std::vector<T> toml_to_vec(const toml::array* array) { |