| 126 | |
| 127 | private: |
| 128 | void load_document(yaml_document_t & document, bool & loaded_flag) { |
| 129 | if (loaded_flag) { |
| 130 | return; |
| 131 | } |
| 132 | if (!yaml_parser_load(&parser_, &document)) { |
| 133 | throw std::runtime_error(parser_error_message(parser_)); |
| 134 | } |
| 135 | loaded_flag = true; |
| 136 | } |
| 137 | |
| 138 | yaml_parser_t parser_{}; |
| 139 | bool initialized_ = false; |
nothing calls this directly
no test coverage detected