53 auto pPinConnectionMsg = std::make_unique<Protobuf::ProductModel::PinConnection>();
55 pPinConnectionMsg->mutable_component()->CopyFrom(*m_pComponent->to_protobuf());
56 pPinConnectionMsg->mutable_pin()->CopyFrom(*m_pPin->to_protobuf());
57 return pPinConnectionMsg;
std::string ToUtf8(std::string_view input)
Converts input to valid UTF-8.