| 19 | } |
| 20 | |
| 21 | std::vector<Slice> Dictionary::getKeys() const noexcept { |
| 22 | std::vector<Slice> keys; |
| 23 | keys.reserve(_dict.size()); |
| 24 | for (const auto& item : _dict) { |
| 25 | keys.push_back(item.first); |
| 26 | } |
| 27 | return keys; |
| 28 | } |
| 29 | |
| 30 | const StringMap<Own<Value>>& Dictionary::data() const { |
| 31 | return _dict; |
no test coverage detected