MCPcopy Create free account
hub / github.com/comaps/comaps / GetOriginalMapObject

Method GetOriginalMapObject

libs/editor/osm_editor.cpp:1070–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068}
1069
1070std::unique_ptr<EditableMapObject> Editor::GetOriginalMapObject(FeatureID const & fid) const
1071{
1072 if (!m_delegate)
1073 {
1074 LOG(LERROR, ("Can't get original feature by id:", fid, ", delegate is not set."));
1075 return {};
1076 }
1077 return m_delegate->GetOriginalMapObject(fid);
1078}
1079
1080string Editor::GetOriginalFeatureStreet(FeatureID const & fid) const
1081{

Callers 1

SetIndexTestMethod · 0.45

Calls

no outgoing calls

Tested by 1

SetIndexTestMethod · 0.36