| 121 | } |
| 122 | |
| 123 | bool IsObsolete(editor::XMLFeature const & xml, FeatureID const & fid) |
| 124 | { |
| 125 | // TODO(mgsergio): If xml and feature are identical return true |
| 126 | auto const uploadTime = xml.GetUploadTime(); |
| 127 | return uploadTime != base::INVALID_TIME_STAMP && |
| 128 | base::TimeTToSecondsSinceEpoch(uploadTime) < GetMwmCreationTimeByMwmId(fid.m_mwmId); |
| 129 | } |
| 130 | } // namespace |
| 131 | |
| 132 | Editor::Editor() : m_configLoader(m_config), m_notes(editor::Notes::MakeNotes()) |
no test coverage detected