MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / LogicalOperands

Method LogicalOperands

src/core/objects/object_query.cpp:167–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165// ### ObjectQuery::LogicalOperands ###
166
167ObjectQuery::LogicalOperands::LogicalOperands(const ObjectQuery::LogicalOperands& proto)
168: first(proto.first ? std::make_unique<ObjectQuery>(*proto.first) : std::make_unique<ObjectQuery>())
169, second(proto.second ? std::make_unique<ObjectQuery>(*proto.second) : std::make_unique<ObjectQuery>())
170{
171 // nothing else
172}
173
174
175ObjectQuery::LogicalOperands::~LogicalOperands() = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected