| 25 | |
| 26 | template<typename T> |
| 27 | void IndexBufferWithWarningData<T>::append(T key, common::offset_t value, |
| 28 | OptionalWarningSourceData&& warningData) { |
| 29 | indexBuffer.push_back(std::make_pair(key, value)); |
| 30 | if (warningData.has_value()) { |
| 31 | if (warningDataBuffer == nullptr) { |
| 32 | warningDataBuffer = std::make_unique<OptionalWarningDataBuffer::element_type>(); |
| 33 | } |
| 34 | warningDataBuffer->push_back(warningData.value()); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | IndexBuilderGlobalQueues::IndexBuilderGlobalQueues(transaction::Transaction* transaction, |
| 39 | NodeTable* nodeTable) |
no test coverage detected