MCPcopy Create free account
hub / github.com/bytedance/bolt / combine

Function combine

bolt/expression/ExprToSubfieldFilter.cpp:570–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568
569namespace {
570std::optional<std::pair<common::Subfield, std::unique_ptr<common::Filter>>>
571combine(common::Subfield& subfield, std::unique_ptr<common::Filter>& filter) {
572 if (filter != nullptr) {
573 return std::make_pair(std::move(subfield), std::move(filter));
574 }
575
576 return std::nullopt;
577}
578} // namespace
579
580std::optional<std::pair<common::Subfield, std::unique_ptr<common::Filter>>>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected